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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, 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.0009781/0.0009782, 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.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001633/0.001633, allocations: 277.7 kB / 291.2 MB, free: 2.02 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.7218/0.7218, allocations: 144.6 MB / 487 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 14.47 kB / 0.5684 GB, free: 38.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 83.09 MB / 0.6495 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0005672/0.1086, allocations: 348.2 kB / 0.6499 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002955/0.1089, allocations: 189.3 kB / 0.6501 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.109, allocations: 0 / 0.6501 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.155e-06/0.109, allocations: 2.406 kB / 0.6501 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1091, allocations: 0 / 0.6501 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.1092, allocations: 63.88 kB / 0.6501 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.923e-05/0.1093, allocations: 23.84 kB / 0.6501 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.1093, allocations: 4 kB / 0.6501 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.1094, allocations: 15.42 kB / 0.6502 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.1094, allocations: 23.91 kB / 0.6502 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1094, allocations: 0 / 0.6502 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1096, allocations: 103.8 kB / 0.6503 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.1096, allocations: 11.98 kB / 0.6503 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.1096, allocations: 29.64 kB / 0.6503 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1097, allocations: 75.94 kB / 0.6504 GB, free: 2.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.1097, allocations: 0 / 0.6504 GB, free: 2.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1097, allocations: 0 / 0.6504 GB, free: 2.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.1098, allocations: 0.8125 kB / 0.6504 GB, free: 2.582 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.0003827/0.1101, allocations: 365 kB / 0.6507 GB, free: 2.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1102, allocations: 12.56 kB / 0.6508 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.1102, allocations: 36.91 kB / 0.6508 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.1102, allocations: 3.906 kB / 0.6508 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1104, allocations: 171.1 kB / 0.651 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1104, allocations: 3.953 kB / 0.651 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1104, allocations: 7.984 kB / 0.651 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1105, allocations: 58.42 kB / 0.651 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1105, allocations: 0.5938 kB / 0.651 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1106, allocations: 5.219 kB / 0.651 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1106, allocations: 0 / 0.651 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1107, allocations: 41.34 kB / 0.6511 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.1109, allocations: 254 kB / 0.6513 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1111, allocations: 77.28 kB / 0.6514 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1111, allocations: 0.5625 kB / 0.6514 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1112, allocations: 39.91 kB / 0.6514 GB, free: 1.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1112, allocations: 0 / 0.6514 GB, free: 1.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.02548/0.1366, allocations: 1.755 MB / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.1367, allocations: 55.41 kB / 0.6532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.1368, allocations: 125.8 kB / 0.6533 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.1368, allocations: 29.7 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1369, allocations: 92.03 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.137, allocations: 27.64 kB / 0.6535 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.137, allocations: 0 / 0.6535 GB, free: 15.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.1371, allocations: 318.8 kB / 0.6538 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.1376, allocations: 163.9 kB / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.138, allocations: 159.9 kB / 0.6541 GB, free: 14.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.1384, allocations: 168.4 kB / 0.6542 GB, free: 14.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1385, allocations: 0 / 0.6542 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00106/0.1395, allocations: 381.4 kB / 0.6546 GB, free: 14.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1395, allocations: 8 kB / 0.6546 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1396, allocations: 0 / 0.6546 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.1396, allocations: 0 / 0.6546 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.141, allocations: 83.83 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.141, allocations: 0 / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.1423, allocations: 55.94 kB / 0.6547 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.1423, allocations: 7.984 kB / 0.6547 GB, free: 13.94 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.0001559/0.1425, allocations: 117.8 kB / 0.6549 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.1426, allocations: 3.906 kB / 0.6549 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1427, allocations: 24.36 kB / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1427, allocations: 0 / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1427, allocations: 0 / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1427, allocations: 4 kB / 0.6549 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005296/0.148, allocations: 0.9157 MB / 0.6558 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.148, allocations: 0 / 0.6558 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.1491, allocations: 67.91 kB / 0.6558 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1491, allocations: 0 / 0.6558 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.1492, allocations: 11.97 kB / 0.6559 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1492, allocations: 3.953 kB / 0.6559 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1492, allocations: 4 kB / 0.6559 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.1501, allocations: 392.9 kB / 0.6562 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.1501, allocations: 92.95 kB / 0.6563 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.1502, allocations: 4 kB / 0.6563 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.1512, allocations: 51.89 kB / 0.6564 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1512, allocations: 7.984 kB / 0.6564 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.1513, allocations: 11.97 kB / 0.6564 GB, free: 12.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.1513, allocations: 99.3 kB / 0.6565 GB, free: 12.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1513, allocations: 0 / 0.6565 GB, free: 12.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1517, allocations: 92 kB / 0.6566 GB, free: 11.93 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.001166/0.1529, allocations: 1.081 MB / 0.6576 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008714/0.1537, allocations: 283.8 kB / 0.6579 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1538, allocations: 0 / 0.6579 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.1541, allocations: 116 kB / 0.658 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.1543, allocations: 8 kB / 0.658 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.1588, allocations: 1.612 MB / 0.6596 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.159, allocations: 0.6945 MB / 0.6603 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004705/0.1595, allocations: 55.98 kB / 0.6603 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.1599, allocations: 31.38 kB / 0.6604 GB, free: 7.934 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1599, allocations: 0 / 0.6604 GB, free: 7.934 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2175/0.3774, allocations: 9.036 MB / 0.6692 GB, free: 15.03 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/0.3778, allocations: 201.2 kB / 0.6694 GB, free: 14.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/2.806, allocations: 7.938 kB / 0.6694 GB, free: 14.78 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) Environment - environmentSimulation: