Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008052/0.0008052, allocations: 98.77 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.0008601/0.0008601, allocations: 177.3 kB / 15.94 MB, free: 228 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.208/1.208, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 266.9 kB / 291.2 MB, free: 1.809 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.7483/0.7483, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 17.16 kB / 0.5683 GB, free: 38.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 83.09 MB / 0.6494 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006578/0.134, allocations: 333.1 kB / 0.6498 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1354, allocations: 1.325 MB / 0.6511 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.1355, allocations: 0.5625 kB / 0.6511 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.1355, allocations: 0.5625 kB / 0.6511 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.1356, allocations: 12.58 kB / 0.6511 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.136, allocations: 129.2 kB / 0.6512 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.1361, allocations: 23.97 kB / 0.6512 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.1361, allocations: 0.5312 kB / 0.6512 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.1361, allocations: 16.83 kB / 0.6512 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.1362, allocations: 35.89 kB / 0.6513 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1362, allocations: 4.562 kB / 0.6513 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.1365, allocations: 159.8 kB / 0.6514 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.1365, allocations: 14.34 kB / 0.6514 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.1365, allocations: 37.62 kB / 0.6515 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1367, allocations: 119.8 kB / 0.6516 GB, free: 1.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1367, allocations: 0 / 0.6516 GB, free: 1.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1367, allocations: 7.875 kB / 0.6516 GB, free: 1.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1367, allocations: 0 / 0.6516 GB, free: 1.543 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003872/0.1371, allocations: 435.4 kB / 0.652 GB, free: 1.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1372, allocations: 8.812 kB / 0.652 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1372, allocations: 7.906 kB / 0.652 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1373, allocations: 169.3 kB / 0.6522 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1373, allocations: 8.453 kB / 0.6522 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1374, allocations: 0 / 0.6522 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1375, allocations: 96.58 kB / 0.6523 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1375, allocations: 0 / 0.6523 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1376, allocations: 7.938 kB / 0.6523 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1376, allocations: 0 / 0.6523 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.1376, allocations: 63.95 kB / 0.6524 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.1378, allocations: 181.5 kB / 0.6525 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.1379, allocations: 83.28 kB / 0.6526 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.1379, allocations: 4.547 kB / 0.6526 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1379, allocations: 32.25 kB / 0.6526 GB, free: 312 kB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1379, allocations: 0 / 0.6526 GB, free: 312 kB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003932/0.1383, allocations: 332.3 kB / 0.653 GB, free: 15.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1384, allocations: 89.75 kB / 0.653 GB, free: 15.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1385, allocations: 141.1 kB / 0.6532 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1385, allocations: 25.7 kB / 0.6532 GB, free: 15.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.1386, allocations: 97.28 kB / 0.6533 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1386, allocations: 7.844 kB / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.1386, allocations: 4 kB / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1387, allocations: 320.2 kB / 0.6536 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1389, allocations: 99.94 kB / 0.6537 GB, free: 15.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.139, allocations: 100.7 kB / 0.6538 GB, free: 15.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1391, allocations: 175.3 kB / 0.654 GB, free: 14.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1391, allocations: 0.8125 kB / 0.654 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003229/0.1395, allocations: 320.8 kB / 0.6543 GB, free: 14.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.1395, allocations: 76.34 kB / 0.6544 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1396, allocations: 144 / 0.6544 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1396, allocations: 1.5 kB / 0.6544 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.737e-06/0.1396, allocations: 3.984 kB / 0.6544 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1396, allocations: 7.984 kB / 0.6544 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1397, allocations: 7.906 kB / 0.6544 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1398, allocations: 6.312 kB / 0.6544 GB, free: 14.42 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001053/0.1399, allocations: 147.5 kB / 0.6545 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.1399, allocations: 7.906 kB / 0.6545 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.1399, allocations: 12.2 kB / 0.6545 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1399, allocations: 4.625 kB / 0.6545 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1399, allocations: 7.922 kB / 0.6545 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.14, allocations: 0.875 kB / 0.6546 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1401, allocations: 165.7 kB / 0.6547 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1401, allocations: 4.656 kB / 0.6547 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-06/0.1401, allocations: 3.984 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1401, allocations: 1.875 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1401, allocations: 4 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1401, allocations: 7.953 kB / 0.6547 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1401, allocations: 0 / 0.6547 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1404, allocations: 228.5 kB / 0.6549 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1404, allocations: 85.05 kB / 0.655 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1405, allocations: 0 / 0.655 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.1405, allocations: 4.656 kB / 0.655 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.1406, allocations: 13 kB / 0.655 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1406, allocations: 8 kB / 0.6551 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.521e-05/0.1407, allocations: 107.2 kB / 0.6552 GB, free: 13.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 3.438 kB / 0.6552 GB, free: 13.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.141, allocations: 64 kB / 0.6552 GB, free: 13.45 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002564/0.1412, allocations: 151.1 kB / 0.6554 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.1416, allocations: 366.7 kB / 0.6557 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1416, allocations: 0 / 0.6557 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1418, allocations: 143.3 kB / 0.6558 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.1419, allocations: 1.062 kB / 0.6559 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.1422, allocations: 219.6 kB / 0.6561 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1425, allocations: 0.6926 MB / 0.6567 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.14e-06/0.1425, allocations: 0 / 0.6567 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-06/0.1425, allocations: 7.438 kB / 0.6567 GB, free: 11.79 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1425, allocations: 0 / 0.6567 GB, free: 11.79 MB / 462.1 MB Notification: Performance of Templates: time 0.00376/0.1463, allocations: 1.868 MB / 0.6586 GB, free: 9.926 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: