Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.0006917/0.0006918, allocations: 92.94 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006971/0.0006971, allocations: 171.2 kB / 16.58 MB, free: 6.066 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.167/1.167, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6/0.6, allocations: 113.7 MB / 405.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 12 kB / 493.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005747/0.1187, allocations: 327.1 kB / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.12, allocations: 1.333 MB / 0.5585 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.1201, allocations: 3.938 kB / 0.5585 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.1201, allocations: 4 kB / 0.5585 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.1202, allocations: 3.938 kB / 0.5585 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.1206, allocations: 139.8 kB / 0.5587 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.1207, allocations: 35.97 kB / 0.5587 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.1207, allocations: 7.875 kB / 0.5587 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.1207, allocations: 19.98 kB / 0.5587 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.1208, allocations: 23.91 kB / 0.5587 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1208, allocations: 4 kB / 0.5588 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.1211, allocations: 183.7 kB / 0.5589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.1211, allocations: 8 kB / 0.5589 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1211, allocations: 41.64 kB / 0.559 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1213, allocations: 120.1 kB / 0.5591 GB, free: 9.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1213, allocations: 0 / 0.5591 GB, free: 9.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1213, allocations: 0 / 0.5591 GB, free: 9.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.414e-06/0.1213, allocations: 0 / 0.5591 GB, free: 9.402 MB / 430.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.0003282/0.1216, allocations: 434.5 kB / 0.5595 GB, free: 8.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1217, allocations: 12.03 kB / 0.5595 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.1217, allocations: 30.56 kB / 0.5595 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.1217, allocations: 7.906 kB / 0.5596 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.1218, allocations: 167 kB / 0.5597 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.1218, allocations: 4 kB / 0.5597 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.1219, allocations: 7.984 kB / 0.5597 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.122, allocations: 101.5 kB / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.122, allocations: 0 / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.122, allocations: 0 / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-06/0.122, allocations: 0 / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.1221, allocations: 59.95 kB / 0.5599 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.1223, allocations: 173.6 kB / 0.56 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1224, allocations: 90.53 kB / 0.5601 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.1225, allocations: 68.88 kB / 0.5602 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.1225, allocations: 3.938 kB / 0.5602 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1225, allocations: 34.56 kB / 0.5602 GB, free: 8.047 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1225, allocations: 7.938 kB / 0.5602 GB, free: 8.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000328/0.1228, allocations: 251.1 kB / 0.5605 GB, free: 7.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1229, allocations: 81.11 kB / 0.5606 GB, free: 7.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.123, allocations: 152 kB / 0.5607 GB, free: 7.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.123, allocations: 25.7 kB / 0.5607 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.1231, allocations: 92.12 kB / 0.5608 GB, free: 7.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1231, allocations: 7.812 kB / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.1231, allocations: 4 kB / 0.5608 GB, free: 7.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.1232, allocations: 314.8 kB / 0.5611 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1233, allocations: 107.9 kB / 0.5612 GB, free: 6.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1234, allocations: 103.9 kB / 0.5613 GB, free: 6.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1236, allocations: 163.3 kB / 0.5615 GB, free: 6.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1236, allocations: 4.031 kB / 0.5615 GB, free: 6.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003179/0.1239, allocations: 322.9 kB / 0.5618 GB, free: 6.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.1239, allocations: 71.39 kB / 0.5619 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.124, allocations: 0 / 0.5619 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.124, allocations: 3.953 kB / 0.5619 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.124, allocations: 0 / 0.5619 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.124, allocations: 7.984 kB / 0.5619 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1241, allocations: 15.83 kB / 0.5619 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1241, allocations: 4 kB / 0.5619 GB, free: 6.246 MB / 430.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.0001007/0.1242, allocations: 156.2 kB / 0.562 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1243, allocations: 4 kB / 0.562 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.229e-05/0.1243, allocations: 4.25 kB / 0.562 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1243, allocations: 144 / 0.562 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1243, allocations: 7.953 kB / 0.5621 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1243, allocations: 3.984 kB / 0.5621 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1244, allocations: 173.5 kB / 0.5622 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1244, allocations: 7.938 kB / 0.5622 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.1244, allocations: 7.938 kB / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1244, allocations: 0 / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1244, allocations: 4 kB / 0.5622 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1244, allocations: 0 / 0.5622 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1245, allocations: 7.984 kB / 0.5623 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1247, allocations: 218.7 kB / 0.5625 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.1247, allocations: 85.02 kB / 0.5625 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1248, allocations: 3.984 kB / 0.5625 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.285e-05/0.1248, allocations: 4 kB / 0.5625 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1249, allocations: 16.02 kB / 0.5626 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1249, allocations: 4 kB / 0.5626 GB, free: 5.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.601e-05/0.1249, allocations: 105.9 kB / 0.5627 GB, free: 5.336 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1249, allocations: 0 / 0.5627 GB, free: 5.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1252, allocations: 67.98 kB / 0.5627 GB, free: 5.27 MB / 430.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.0006165/0.1258, allocations: 0.8099 MB / 0.5635 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.1262, allocations: 370.6 kB / 0.5639 GB, free: 4.039 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1262, allocations: 0 / 0.5639 GB, free: 4.039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1263, allocations: 139.3 kB / 0.564 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1264, allocations: 0 / 0.564 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1276, allocations: 1.036 MB / 0.565 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1278, allocations: 0.6926 MB / 0.5657 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.799e-06/0.1278, allocations: 0 / 0.5657 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.1278, allocations: 15.44 kB / 0.5657 GB, free: 2.074 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1278, allocations: 0 / 0.5657 GB, free: 2.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.1394, allocations: 2.926 MB / 0.5686 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.1396, allocations: 195.1 kB / 0.5688 GB, free: 15.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.642, allocations: 0 / 0.5688 GB, free: 15.05 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: