Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_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.0009872/0.0009872, allocations: 98.58 kB / 16.02 MB, free: 80 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.001233/0.001233, allocations: 183.6 kB / 16.92 MB, free: 6.688 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6606/0.6606, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003241, allocations: 8 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 77.53 MB / 0.5601 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007614/0.1686, allocations: 362.2 kB / 0.5604 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.1691, allocations: 199.3 kB / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.1691, allocations: 0 / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.1692, allocations: 0 / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1693, allocations: 7.938 kB / 0.5606 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.1695, allocations: 59.89 kB / 0.5607 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.1696, allocations: 31.91 kB / 0.5607 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.1697, allocations: 4 kB / 0.5607 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.1697, allocations: 11.94 kB / 0.5607 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.1698, allocations: 27.89 kB / 0.5607 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1698, allocations: 0 / 0.5607 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.17, allocations: 111.7 kB / 0.5608 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.17, allocations: 3.938 kB / 0.5608 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.17, allocations: 41.62 kB / 0.5609 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1702, allocations: 107.7 kB / 0.561 GB, free: 7.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1702, allocations: 4 kB / 0.561 GB, free: 7.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1702, allocations: 7.938 kB / 0.561 GB, free: 7.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1703, allocations: 0 / 0.561 GB, free: 7.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005036/0.1708, allocations: 359.7 kB / 0.5613 GB, free: 7.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1708, allocations: 8.031 kB / 0.5613 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.1709, allocations: 42.73 kB / 0.5614 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.1709, allocations: 4.844 kB / 0.5614 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.171, allocations: 172.3 kB / 0.5616 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1711, allocations: 4.375 kB / 0.5616 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1711, allocations: 4.375 kB / 0.5616 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1713, allocations: 58.22 kB / 0.5616 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1713, allocations: 7.938 kB / 0.5616 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1713, allocations: 3.938 kB / 0.5616 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.1713, allocations: 0 / 0.5616 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1714, allocations: 43.97 kB / 0.5617 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.1718, allocations: 244.9 kB / 0.5619 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.172, allocations: 86.5 kB / 0.562 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.1721, allocations: 32.83 kB / 0.562 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1721, allocations: 0 / 0.562 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1721, allocations: 38.56 kB / 0.5621 GB, free: 6.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1722, allocations: 0 / 0.5621 GB, free: 6.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.03132/0.2035, allocations: 1.753 MB / 0.5638 GB, free: 4.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.2036, allocations: 51.41 kB / 0.5638 GB, free: 4.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2038, allocations: 121.7 kB / 0.5639 GB, free: 4.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.53e-05/0.2039, allocations: 29.7 kB / 0.564 GB, free: 4.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.2039, allocations: 92.08 kB / 0.5641 GB, free: 4.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.235e-05/0.204, allocations: 23.56 kB / 0.5641 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2041, allocations: 21.7 kB / 0.5641 GB, free: 4.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2043, allocations: 318.8 kB / 0.5644 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.2049, allocations: 163.9 kB / 0.5646 GB, free: 4.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.2054, allocations: 155.9 kB / 0.5647 GB, free: 3.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.2065, allocations: 333.3 kB / 0.565 GB, free: 3.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2065, allocations: 4 kB / 0.565 GB, free: 3.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001255/0.2077, allocations: 385.4 kB / 0.5654 GB, free: 3.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2078, allocations: 4 kB / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2078, allocations: 3.938 kB / 0.5654 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.2078, allocations: 4 kB / 0.5654 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.2096, allocations: 75.89 kB / 0.5655 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2096, allocations: 4 kB / 0.5655 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.2111, allocations: 51.94 kB / 0.5655 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.2112, allocations: 11.92 kB / 0.5655 GB, free: 3.062 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.2115, allocations: 117.8 kB / 0.5657 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2116, allocations: 7.891 kB / 0.5657 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.2117, allocations: 24.36 kB / 0.5657 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2117, allocations: 0 / 0.5657 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.2118, allocations: 8 kB / 0.5657 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2118, allocations: 0 / 0.5657 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006524/0.2183, allocations: 0.9155 MB / 0.5666 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2183, allocations: 0 / 0.5666 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.2196, allocations: 75.84 kB / 0.5667 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2196, allocations: 8.062 kB / 0.5667 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.2197, allocations: 7.922 kB / 0.5667 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.846e-05/0.2197, allocations: 7.984 kB / 0.5667 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2197, allocations: 0 / 0.5667 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2208, allocations: 357.1 kB / 0.567 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.2209, allocations: 93 kB / 0.5671 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.2209, allocations: 3.938 kB / 0.5671 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.2222, allocations: 43.95 kB / 0.5672 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2222, allocations: 7.938 kB / 0.5672 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.2223, allocations: 11.97 kB / 0.5672 GB, free: 1.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.21e-05/0.2223, allocations: 95.27 kB / 0.5673 GB, free: 1.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2223, allocations: 4 kB / 0.5673 GB, free: 1.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.2228, allocations: 92.38 kB / 0.5674 GB, free: 1.086 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.2243, allocations: 0.9208 MB / 0.5683 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.2254, allocations: 283.8 kB / 0.5685 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2255, allocations: 0 / 0.5685 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.2259, allocations: 124 kB / 0.5686 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2262, allocations: 7.938 kB / 0.5687 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/0.2334, allocations: 2.82 MB / 0.5714 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2337, allocations: 0.6888 MB / 0.5721 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005121/0.2342, allocations: 55.98 kB / 0.5721 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.2347, allocations: 35.38 kB / 0.5722 GB, free: 12.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2347, allocations: 0 / 0.5722 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/0.6524, allocations: 9.287 MB / 0.5812 GB, free: 2.824 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.6527, allocations: 209.5 kB / 0.5814 GB, free: 2.566 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.213, allocations: 0 / 0.5814 GB, free: 2.566 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)