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.001575/0.001575, allocations: 104.5 kB / 16.4 MB, free: 6.438 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.001692/0.001692, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.731/0.731, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 70.95 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.142, allocations: 76.18 MB / 0.6316 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001956/0.144, allocations: 0.5922 MB / 0.6322 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.146, allocations: 1.385 MB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.146, allocations: 0 / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.299e-05/0.1461, allocations: 3.984 kB / 0.6336 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.1462, allocations: 7.938 kB / 0.6336 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.1469, allocations: 181.8 kB / 0.6337 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1471, allocations: 47.91 kB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.1471, allocations: 0 / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/0.1472, allocations: 23.92 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.1472, allocations: 27.91 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1473, allocations: 4 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1476, allocations: 203.6 kB / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.1477, allocations: 11.94 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1477, allocations: 23.86 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.148, allocations: 190.4 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.148, allocations: 4 kB / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1481, allocations: 0 / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1481, allocations: 0 / 0.6343 GB, free: 2.156 MB / 478.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.0004581/0.1485, allocations: 439.6 kB / 0.6347 GB, free: 1.668 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1486, allocations: 8.031 kB / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.1486, allocations: 34.75 kB / 0.6347 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.1487, allocations: 8.844 kB / 0.6347 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1488, allocations: 180.2 kB / 0.6349 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1488, allocations: 384 / 0.6349 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1489, allocations: 8.375 kB / 0.6349 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1491, allocations: 101.7 kB / 0.635 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1491, allocations: 3.984 kB / 0.635 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1491, allocations: 0 / 0.635 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1491, allocations: 0 / 0.635 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.1492, allocations: 59.95 kB / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1494, allocations: 177.6 kB / 0.6352 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1495, allocations: 78.56 kB / 0.6353 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.1496, allocations: 72.86 kB / 0.6354 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.1497, allocations: 3.938 kB / 0.6354 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1497, allocations: 42.44 kB / 0.6354 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1497, allocations: 0 / 0.6354 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004029/0.1501, allocations: 251.2 kB / 0.6357 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.1502, allocations: 81.11 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1503, allocations: 147.1 kB / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1504, allocations: 25.7 kB / 0.6359 GB, free: 248 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.1504, allocations: 96.16 kB / 0.636 GB, free: 148 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1505, allocations: 7.812 kB / 0.636 GB, free: 140 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.1505, allocations: 29.7 kB / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1507, allocations: 318.8 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1508, allocations: 103.9 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1509, allocations: 107.8 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.1512, allocations: 281.7 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1512, allocations: 8 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003577/0.1516, allocations: 324.8 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.1516, allocations: 67.39 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1517, allocations: 7.922 kB / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1517, allocations: 0 / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1517, allocations: 0 / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1517, allocations: 3.984 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.1519, allocations: 15.94 kB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1519, allocations: 4 kB / 0.6372 GB, free: 14.82 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.152, allocations: 143.6 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.152, allocations: 15.84 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.1521, allocations: 8.25 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1521, allocations: 3.938 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1521, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1521, allocations: 3.984 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1522, allocations: 169.7 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1522, allocations: 3.938 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-06/0.1522, allocations: 3.984 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1522, allocations: 0 / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1523, allocations: 4 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1523, allocations: 4 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1523, allocations: 0 / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1526, allocations: 234.6 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.1526, allocations: 84.95 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1526, allocations: 4 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.1527, allocations: 4 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.1528, allocations: 7.984 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1528, allocations: 0 / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1529, allocations: 113.2 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1529, allocations: 4 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.1532, allocations: 60 kB / 0.6381 GB, free: 13.86 MB / 494.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 (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.0007117/0.154, allocations: 0.8171 MB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.1544, allocations: 370.7 kB / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1544, allocations: 0 / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.1545, allocations: 143.3 kB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.1547, allocations: 4 kB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.157, allocations: 2.138 MB / 0.6414 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1572, allocations: 0.6885 MB / 0.6421 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.743e-06/0.1572, allocations: 192 / 0.6421 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.1573, allocations: 23.42 kB / 0.6421 GB, free: 9.488 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1573, allocations: 3.938 kB / 0.6421 GB, free: 9.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.1809, allocations: 3.342 MB / 0.6454 GB, free: 6.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.917, allocations: 12.58 kB / 0.6454 GB, free: 6.23 MB / 494.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/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)