Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008312, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009122/0.0009125, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 258.6 kB / 291.2 MB, free: 1.926 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7576/0.7576, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004186, allocations: 12.97 kB / 0.5683 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1598, allocations: 83.08 MB / 0.6494 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001529/0.1613, allocations: 1.141 MB / 0.6505 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.1618, allocations: 228.7 kB / 0.6508 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.1619, allocations: 0 / 0.6508 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1619, allocations: 5.875 kB / 0.6508 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.1619, allocations: 7.922 kB / 0.6508 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1622, allocations: 27.97 kB / 0.6508 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.1623, allocations: 19.91 kB / 0.6508 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.161e-05/0.1624, allocations: 4.844 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.1624, allocations: 18.14 kB / 0.6508 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.1625, allocations: 4 kB / 0.6508 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.1625, allocations: 0 / 0.6508 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1626, allocations: 67.86 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.1626, allocations: 0 / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1627, allocations: 33.7 kB / 0.6509 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.543e-05/0.1628, allocations: 26.14 kB / 0.651 GB, free: 2.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1628, allocations: 0 / 0.651 GB, free: 2.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1628, allocations: 4 kB / 0.651 GB, free: 2.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1628, allocations: 0 / 0.651 GB, free: 2.012 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003861/0.1632, allocations: 344.5 kB / 0.6513 GB, free: 1.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1632, allocations: 16.55 kB / 0.6513 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1633, allocations: 0 / 0.6513 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1634, allocations: 163.9 kB / 0.6515 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1634, allocations: 12.42 kB / 0.6515 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.1634, allocations: 0 / 0.6515 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1636, allocations: 55.7 kB / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1636, allocations: 0 / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.1636, allocations: 1.25 kB / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1636, allocations: 0 / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1638, allocations: 50.78 kB / 0.6516 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.1641, allocations: 252.9 kB / 0.6518 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1642, allocations: 44.94 kB / 0.6519 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.1648, allocations: 455.8 kB / 0.6523 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1648, allocations: 35.81 kB / 0.6523 GB, free: 380 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1648, allocations: 0 / 0.6523 GB, free: 380 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.1652, allocations: 100.5 kB / 0.6524 GB, free: 276 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1652, allocations: 53.22 kB / 0.6525 GB, free: 212 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.1653, allocations: 105.7 kB / 0.6526 GB, free: 96 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1653, allocations: 29.7 kB / 0.6526 GB, free: 60 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.1654, allocations: 88.75 kB / 0.6527 GB, free: 15.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.1654, allocations: 3.906 kB / 0.6527 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.1654, allocations: 0.875 kB / 0.6527 GB, free: 15.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.1655, allocations: 314.8 kB / 0.653 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.1656, allocations: 23.23 kB / 0.653 GB, free: 15.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.1657, allocations: 23.97 kB / 0.653 GB, free: 15.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.1658, allocations: 25.66 kB / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1658, allocations: 0 / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.166, allocations: 72.61 kB / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.166, allocations: 7.984 kB / 0.6531 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.166, allocations: 0.5 kB / 0.6531 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.166, allocations: 4 kB / 0.6532 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.1661, allocations: 10.78 kB / 0.6532 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1661, allocations: 3.938 kB / 0.6532 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1662, allocations: 11.98 kB / 0.6532 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1662, allocations: 4 kB / 0.6532 GB, free: 15.47 MB / 462.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.1663, allocations: 111.5 kB / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1663, allocations: 0 / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.1665, allocations: 90.08 kB / 0.6534 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1665, allocations: 0 / 0.6534 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1666, allocations: 0 / 0.6534 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1666, allocations: 4 kB / 0.6534 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1667, allocations: 157.7 kB / 0.6535 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1667, allocations: 3.953 kB / 0.6535 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.1668, allocations: 11.98 kB / 0.6535 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1668, allocations: 0 / 0.6535 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1668, allocations: 0 / 0.6535 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1668, allocations: 4.031 kB / 0.6535 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1668, allocations: 3.938 kB / 0.6536 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1671, allocations: 175.5 kB / 0.6537 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.1671, allocations: 84.97 kB / 0.6538 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1671, allocations: 0 / 0.6538 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1672, allocations: 7.984 kB / 0.6538 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.1672, allocations: 4 kB / 0.6538 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1672, allocations: 0 / 0.6538 GB, free: 14.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.1673, allocations: 83.27 kB / 0.6539 GB, free: 14.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1673, allocations: 3.938 kB / 0.6539 GB, free: 14.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1675, allocations: 12 kB / 0.6539 GB, free: 14.63 MB / 462.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.1677, allocations: 119.3 kB / 0.654 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.1679, allocations: 55.89 kB / 0.6541 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1679, allocations: 3.938 kB / 0.6541 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.168, allocations: 19.98 kB / 0.6541 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1682, allocations: 5.562 kB / 0.6541 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.1684, allocations: 108.8 kB / 0.6542 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.1686, allocations: 0.6809 MB / 0.6549 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.1686, allocations: 0 / 0.6549 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.1687, allocations: 7.438 kB / 0.6549 GB, free: 13.57 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1687, allocations: 0 / 0.6549 GB, free: 13.57 MB / 462.1 MB Notification: Performance of Templates: time 0.00248/0.1712, allocations: 0.5874 MB / 0.6555 GB, free: 12.99 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: