Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007833, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005589/0.00559, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.05/1.05, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003394, allocations: 8 kB / 0.5164 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 83.41 MB / 0.5979 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007685/0.1914, allocations: 307 kB / 0.5981 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005228/0.1919, allocations: 187.5 kB / 0.5983 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-06/0.1919, allocations: 11.88 kB / 0.5983 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.192, allocations: 0 / 0.5983 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-06/0.192, allocations: 0 / 0.5983 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1923, allocations: 43.89 kB / 0.5984 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.128e-05/0.1923, allocations: 4 kB / 0.5984 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.1924, allocations: 0 / 0.5984 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.13e-05/0.1924, allocations: 0 / 0.5984 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.328e-05/0.1924, allocations: 3.984 kB / 0.5984 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.1924, allocations: 0 / 0.5984 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1926, allocations: 63.89 kB / 0.5984 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.1926, allocations: 4 kB / 0.5985 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1927, allocations: 29.69 kB / 0.5985 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1928, allocations: 31.95 kB / 0.5985 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1928, allocations: 0 / 0.5985 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1928, allocations: 0 / 0.5985 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1928, allocations: 0 / 0.5985 GB, free: 6.949 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003419/0.1931, allocations: 323.5 kB / 0.5988 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1932, allocations: 12.03 kB / 0.5988 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.1932, allocations: 0.9375 kB / 0.5988 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1934, allocations: 164.3 kB / 0.599 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1934, allocations: 4.375 kB / 0.599 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-06/0.1934, allocations: 384 / 0.599 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.1935, allocations: 30.27 kB / 0.599 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1935, allocations: 192 / 0.599 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1935, allocations: 7.938 kB / 0.599 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1935, allocations: 3.984 kB / 0.599 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.1936, allocations: 0 / 0.599 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1937, allocations: 141.7 kB / 0.5992 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.1937, allocations: 30.53 kB / 0.5992 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.1938, allocations: 4.859 kB / 0.5992 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/0.1945, allocations: 457.5 kB / 0.5996 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1945, allocations: 30.56 kB / 0.5997 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1945, allocations: 4 kB / 0.5997 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.1947, allocations: 33.64 kB / 0.5997 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1947, allocations: 59.34 kB / 0.5998 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.548e-05/0.1947, allocations: 93.86 kB / 0.5998 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1948, allocations: 25.7 kB / 0.5999 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.1948, allocations: 80.14 kB / 0.6 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1948, allocations: 3.906 kB / 0.6 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.1949, allocations: 13.7 kB / 0.6 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.195, allocations: 315 kB / 0.6003 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.195, allocations: 4 kB / 0.6003 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.195, allocations: 3.938 kB / 0.6003 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.195, allocations: 8.859 kB / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.195, allocations: 0 / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.972e-05/0.1951, allocations: 37.64 kB / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1951, allocations: 4 kB / 0.6003 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1951, allocations: 0 / 0.6003 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1951, allocations: 8.031 kB / 0.6003 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.1952, allocations: 7.984 kB / 0.6003 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1952, allocations: 0 / 0.6003 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-06/0.1952, allocations: 0 / 0.6003 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1952, allocations: 4 kB / 0.6003 GB, free: 4.754 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.118e-05/0.1953, allocations: 105.8 kB / 0.6004 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.1953, allocations: 4 kB / 0.6004 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/0.1954, allocations: 44.7 kB / 0.6005 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1954, allocations: 8.016 kB / 0.6005 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1954, allocations: 0 / 0.6005 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1954, allocations: 0 / 0.6005 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.359e-05/0.1955, allocations: 141.7 kB / 0.6006 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1955, allocations: 0 / 0.6006 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.1955, allocations: 7.938 kB / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1955, allocations: 0 / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1955, allocations: 3.938 kB / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1955, allocations: 0 / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1955, allocations: 0 / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.067e-05/0.1956, allocations: 65.12 kB / 0.6007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.1957, allocations: 77.11 kB / 0.6008 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1957, allocations: 3.938 kB / 0.6008 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.1957, allocations: 0 / 0.6008 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.1957, allocations: 0 / 0.6008 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1957, allocations: 3.984 kB / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.595e-05/0.1957, allocations: 79.28 kB / 0.6009 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1957, allocations: 0 / 0.6009 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001894/0.1959, allocations: 12.03 kB / 0.6009 GB, free: 4.109 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/0.1962, allocations: 119.2 kB / 0.601 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.1963, allocations: 11.92 kB / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1963, allocations: 0 / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.1963, allocations: 0 / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1964, allocations: 8.125 kB / 0.601 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000161/0.1966, allocations: 80.7 kB / 0.6011 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1968, allocations: 0.6692 MB / 0.6017 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.412e-05/0.1968, allocations: 3.984 kB / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.1969, allocations: 15.38 kB / 0.6018 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1969, allocations: 0 / 0.6018 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.002514/0.1994, allocations: 408.6 kB / 0.6021 GB, free: 2.746 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)