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.001207/0.001207, allocations: 103.7 kB / 16.4 MB, free: 6.492 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.001387/0.001387, allocations: 193.8 kB / 17.34 MB, free: 5.766 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9067/0.9067, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 68.41 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 77.93 MB / 0.6441 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00174/0.1499, allocations: 0.6155 MB / 0.6447 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.1504, allocations: 203.5 kB / 0.6449 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.1504, allocations: 0 / 0.6449 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1505, allocations: 0 / 0.6449 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1507, allocations: 7.922 kB / 0.6449 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1509, allocations: 79.75 kB / 0.645 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.151, allocations: 35.86 kB / 0.645 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.151, allocations: 3.984 kB / 0.645 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.1511, allocations: 15.94 kB / 0.645 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.906e-05/0.1512, allocations: 23.89 kB / 0.6451 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1512, allocations: 4 kB / 0.6451 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1514, allocations: 99.73 kB / 0.6452 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.1514, allocations: 11.98 kB / 0.6452 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.1514, allocations: 15.88 kB / 0.6452 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1517, allocations: 104 kB / 0.6453 GB, free: 8.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1517, allocations: 0 / 0.6453 GB, free: 8.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1517, allocations: 0 / 0.6453 GB, free: 8.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1517, allocations: 4 kB / 0.6453 GB, free: 8.262 MB / 494.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.0006068/0.1523, allocations: 373 kB / 0.6456 GB, free: 7.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1524, allocations: 12.62 kB / 0.6457 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.1524, allocations: 38.73 kB / 0.6457 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.1524, allocations: 4.938 kB / 0.6457 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.1526, allocations: 168.3 kB / 0.6459 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1526, allocations: 4.312 kB / 0.6459 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1527, allocations: 8.359 kB / 0.6459 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1528, allocations: 62.22 kB / 0.6459 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1529, allocations: 3.938 kB / 0.6459 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1529, allocations: 0 / 0.6459 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1529, allocations: 0 / 0.6459 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.153, allocations: 31.97 kB / 0.646 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.1534, allocations: 252.9 kB / 0.6462 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1536, allocations: 82.33 kB / 0.6463 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.1537, allocations: 24.94 kB / 0.6463 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1537, allocations: 0 / 0.6463 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1538, allocations: 30.56 kB / 0.6463 GB, free: 7.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.1538, allocations: 4 kB / 0.6463 GB, free: 7.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02814/0.1819, allocations: 1.609 MB / 0.6479 GB, free: 5.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.182, allocations: 51.41 kB / 0.648 GB, free: 5.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1821, allocations: 117.8 kB / 0.6481 GB, free: 5.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.1822, allocations: 33.7 kB / 0.6481 GB, free: 5.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.1822, allocations: 88.14 kB / 0.6482 GB, free: 5.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.1823, allocations: 31.72 kB / 0.6482 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.1825, allocations: 25.72 kB / 0.6482 GB, free: 5.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.1826, allocations: 318.8 kB / 0.6486 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.1831, allocations: 151.9 kB / 0.6487 GB, free: 4.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.1836, allocations: 143.9 kB / 0.6488 GB, free: 4.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/0.1846, allocations: 288.8 kB / 0.6491 GB, free: 4.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1847, allocations: 0 / 0.6491 GB, free: 4.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001205/0.1859, allocations: 346 kB / 0.6494 GB, free: 3.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1859, allocations: 4 kB / 0.6494 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1859, allocations: 0 / 0.6494 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1859, allocations: 4 kB / 0.6494 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.1875, allocations: 59.92 kB / 0.6495 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1875, allocations: 0 / 0.6495 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.1889, allocations: 47.95 kB / 0.6495 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.189, allocations: 11.98 kB / 0.6496 GB, free: 3.652 MB / 494.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.0001948/0.1892, allocations: 121.7 kB / 0.6497 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.1893, allocations: 0 / 0.6497 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.1894, allocations: 20.38 kB / 0.6497 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1895, allocations: 0 / 0.6497 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1895, allocations: 0 / 0.6497 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1895, allocations: 0 / 0.6497 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005932/0.1954, allocations: 0.8377 MB / 0.6505 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1954, allocations: 3.984 kB / 0.6505 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.1965, allocations: 55.88 kB / 0.6506 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1966, allocations: 4 kB / 0.6506 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.1966, allocations: 8 kB / 0.6506 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1966, allocations: 4 kB / 0.6506 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1966, allocations: 0 / 0.6506 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009672/0.1976, allocations: 325.5 kB / 0.6509 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.1977, allocations: 81.06 kB / 0.651 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.1978, allocations: 7.938 kB / 0.651 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.1988, allocations: 47.88 kB / 0.651 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.1988, allocations: 11.98 kB / 0.651 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.1989, allocations: 8 kB / 0.651 GB, free: 2.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.887e-05/0.199, allocations: 91.27 kB / 0.6511 GB, free: 1.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.199, allocations: 4 kB / 0.6511 GB, free: 1.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.1994, allocations: 99.88 kB / 0.6512 GB, free: 1.82 MB / 494.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.001305/0.2007, allocations: 0.8703 MB / 0.6521 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009946/0.2017, allocations: 244.2 kB / 0.6523 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2017, allocations: 4.188 kB / 0.6523 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.2021, allocations: 95.89 kB / 0.6524 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.2024, allocations: 9.656 kB / 0.6524 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.209, allocations: 2.682 MB / 0.655 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2092, allocations: 0.6853 MB / 0.6557 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004473/0.2097, allocations: 51.86 kB / 0.6558 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.2102, allocations: 27.36 kB / 0.6558 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.2102, allocations: 0 / 0.6558 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.2416, allocations: 9.794 MB / 0.6653 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.062, allocations: 19.27 kB / 0.6654 GB, free: 3.246 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)