Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009767/0.0009768, allocations: 99.47 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.0009824/0.0009823, 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.238/1.238, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 274.6 kB / 291.3 MB, free: 1.914 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.7754/0.7754, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003914, allocations: 13 kB / 0.5683 GB, free: 38.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 83.09 MB / 0.6494 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006904/0.1288, allocations: 353.1 kB / 0.6498 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.1292, allocations: 177.5 kB / 0.65 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.371e-05/0.1292, allocations: 0.5625 kB / 0.65 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1293, allocations: 0 / 0.65 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1294, allocations: 14 kB / 0.65 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.1296, allocations: 59.88 kB / 0.65 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.607e-05/0.1296, allocations: 23.91 kB / 0.65 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1297, allocations: 0 / 0.65 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.1297, allocations: 16.58 kB / 0.6501 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.1298, allocations: 27.34 kB / 0.6501 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1298, allocations: 4 kB / 0.6501 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.13, allocations: 95.86 kB / 0.6502 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.13, allocations: 15.91 kB / 0.6502 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.13, allocations: 33.64 kB / 0.6502 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1301, allocations: 67.94 kB / 0.6503 GB, free: 2.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1301, allocations: 0 / 0.6503 GB, free: 2.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1301, allocations: 0 / 0.6503 GB, free: 2.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.1302, allocations: 0 / 0.6503 GB, free: 2.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000468/0.1306, allocations: 369.3 kB / 0.6507 GB, free: 2.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1307, allocations: 10.44 kB / 0.6507 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1307, allocations: 7.906 kB / 0.6507 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1308, allocations: 171 kB / 0.6508 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1309, allocations: 11.89 kB / 0.6508 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1309, allocations: 0 / 0.6508 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.131, allocations: 58.92 kB / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1311, allocations: 0 / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1311, allocations: 1.094 kB / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1311, allocations: 0 / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1312, allocations: 41.94 kB / 0.6509 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1315, allocations: 253.6 kB / 0.6512 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1317, allocations: 77.62 kB / 0.6513 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1317, allocations: 4.5 kB / 0.6513 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1317, allocations: 35.69 kB / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1317, allocations: 0.7188 kB / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.02549/0.1572, allocations: 1.758 MB / 0.653 GB, free: 15.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1573, allocations: 55.41 kB / 0.6531 GB, free: 15.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.1574, allocations: 117.8 kB / 0.6532 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.1575, allocations: 29.64 kB / 0.6532 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.1575, allocations: 88.05 kB / 0.6533 GB, free: 15.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.1576, allocations: 27.64 kB / 0.6533 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.1577, allocations: 0 / 0.6533 GB, free: 15.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1578, allocations: 326.8 kB / 0.6536 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.1582, allocations: 163.8 kB / 0.6538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.1587, allocations: 164.3 kB / 0.6539 GB, free: 14.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.1592, allocations: 160.1 kB / 0.6541 GB, free: 14.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1592, allocations: 0 / 0.6541 GB, free: 14.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001104/0.1603, allocations: 389.3 kB / 0.6545 GB, free: 14.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1603, allocations: 5.562 kB / 0.6545 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1603, allocations: 0 / 0.6545 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1604, allocations: 4 kB / 0.6545 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.1618, allocations: 75.89 kB / 0.6545 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1618, allocations: 0 / 0.6545 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.1631, allocations: 59.94 kB / 0.6546 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.1632, allocations: 7.984 kB / 0.6546 GB, free: 14.23 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 (9): * Single equations (assignments): 9 * 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 0.0001659/0.1634, allocations: 121.8 kB / 0.6547 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.1634, allocations: 3.906 kB / 0.6547 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.1636, allocations: 20.38 kB / 0.6547 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1636, allocations: 0 / 0.6547 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1636, allocations: 7.938 kB / 0.6548 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.1636, allocations: 432 / 0.6548 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005397/0.169, allocations: 0.9119 MB / 0.6556 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.169, allocations: 0 / 0.6556 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.1701, allocations: 67.91 kB / 0.6557 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1701, allocations: 4 kB / 0.6557 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.1702, allocations: 7.969 kB / 0.6557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1702, allocations: 8.016 kB / 0.6557 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1702, allocations: 4 kB / 0.6557 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/0.1711, allocations: 392.4 kB / 0.6561 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.1712, allocations: 96.95 kB / 0.6562 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.1712, allocations: 0 / 0.6562 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.1723, allocations: 43.95 kB / 0.6562 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.1723, allocations: 11.92 kB / 0.6563 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.1723, allocations: 11.98 kB / 0.6563 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.497e-05/0.1724, allocations: 95.3 kB / 0.6564 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1724, allocations: 4 kB / 0.6564 GB, free: 12.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.1728, allocations: 92 kB / 0.6564 GB, free: 12.22 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0002035/0.173, allocations: 123.2 kB / 0.6566 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008989/0.1739, allocations: 279.8 kB / 0.6568 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1739, allocations: 0 / 0.6568 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.1744, allocations: 124 kB / 0.657 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.1746, allocations: 4 kB / 0.657 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.1772, allocations: 352.3 kB / 0.6573 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1774, allocations: 0.6906 MB / 0.658 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.1779, allocations: 55.98 kB / 0.658 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.1783, allocations: 31.38 kB / 0.658 GB, free: 10.52 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1783, allocations: 4 kB / 0.6581 GB, free: 10.51 MB / 462.1 MB Notification: Performance of Templates: time 0.01107/0.1894, allocations: 8.149 MB / 0.666 GB, free: 2.316 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) Environment - environmentSimulation: