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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001203, allocations: 181.5 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5711/0.5711, allocations: 90.92 MB / 99.35 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008616, allocations: 103.9 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.396e-05, allocations: 8 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1577, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5399/0.6977, allocations: 101.6 MB / 0.6529 GB, free: 8.371 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.698, allocations: 83.69 kB / 0.653 GB, free: 8.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009778/0.7078, allocations: 3.202 MB / 0.6561 GB, free: 5.531 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.7078, allocations: 7.938 kB / 0.6561 GB, free: 5.523 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.7078, allocations: 0 / 0.6561 GB, free: 5.523 MB / 458.7 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.0004421/0.7083, allocations: 441.3 kB / 0.6565 GB, free: 5.043 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7083, allocations: 8.031 kB / 0.6565 GB, free: 5.035 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.7084, allocations: 11.86 kB / 0.6565 GB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.7085, allocations: 164.5 kB / 0.6567 GB, free: 4.824 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.7086, allocations: 4 kB / 0.6567 GB, free: 4.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.7086, allocations: 0 / 0.6567 GB, free: 4.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000134/0.7087, allocations: 59.89 kB / 0.6568 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.7089, allocations: 101.1 kB / 0.6569 GB, free: 4.668 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7089, allocations: 0.75 kB / 0.6569 GB, free: 4.668 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.7089, allocations: 0 / 0.6569 GB, free: 4.668 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.7089, allocations: 3.953 kB / 0.6569 GB, free: 4.664 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.7091, allocations: 166.9 kB / 0.657 GB, free: 4.473 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.7092, allocations: 74.03 kB / 0.6571 GB, free: 4.395 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.7093, allocations: 71.7 kB / 0.6572 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.7093, allocations: 0 / 0.6572 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.7093, allocations: 34.56 kB / 0.6572 GB, free: 4.285 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.7094, allocations: 3.938 kB / 0.6572 GB, free: 4.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003279/0.7097, allocations: 160 kB / 0.6573 GB, free: 4.129 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.7098, allocations: 85.05 kB / 0.6574 GB, free: 4.027 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.7099, allocations: 125.2 kB / 0.6575 GB, free: 3.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.7099, allocations: 29.7 kB / 0.6576 GB, free: 3.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.71, allocations: 87.67 kB / 0.6577 GB, free: 3.785 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.71, allocations: 11.84 kB / 0.6577 GB, free: 3.777 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.71, allocations: 4.031 kB / 0.6577 GB, free: 3.773 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7101, allocations: 325.8 kB / 0.658 GB, free: 3.449 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.7103, allocations: 94.12 kB / 0.6581 GB, free: 3.367 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.7104, allocations: 94.06 kB / 0.6582 GB, free: 3.289 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.7106, allocations: 99.52 kB / 0.6583 GB, free: 3.203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7106, allocations: 0 / 0.6583 GB, free: 3.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003511/0.711, allocations: 248.2 kB / 0.6585 GB, free: 2.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.711, allocations: 70.89 kB / 0.6586 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.711, allocations: 0 / 0.6586 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7111, allocations: 12.05 kB / 0.6586 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-06/0.7111, allocations: 3.984 kB / 0.6586 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.7111, allocations: 0 / 0.6586 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.7112, allocations: 11.84 kB / 0.6586 GB, free: 2.875 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.7112, allocations: 11.94 kB / 0.6586 GB, free: 2.863 MB / 458.7 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 () * 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.0001029/0.7113, allocations: 146.6 kB / 0.6587 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002482/0.7116, allocations: 164 kB / 0.6589 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.7116, allocations: 11.41 kB / 0.6589 GB, free: 2.543 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.7116, allocations: 4.344 kB / 0.6589 GB, free: 2.539 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7116, allocations: 4.031 kB / 0.6589 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7116, allocations: 4 kB / 0.6589 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.7116, allocations: 0 / 0.6589 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.7118, allocations: 152.8 kB / 0.6591 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7118, allocations: 0 / 0.6591 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.7118, allocations: 4.75 kB / 0.6591 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7118, allocations: 0 / 0.6591 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.7118, allocations: 0 / 0.6591 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.7118, allocations: 0 / 0.6591 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7118, allocations: 0 / 0.6591 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.7121, allocations: 205.1 kB / 0.6593 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.7121, allocations: 81.11 kB / 0.6593 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.7122, allocations: 4 kB / 0.6593 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.7122, allocations: 4 kB / 0.6594 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.7123, allocations: 11.17 kB / 0.6594 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7123, allocations: 4 kB / 0.6594 GB, free: 2.023 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.776e-05/0.7124, allocations: 99.52 kB / 0.6595 GB, free: 1.934 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7124, allocations: 11.97 kB / 0.6595 GB, free: 1.922 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.7127, allocations: 71.92 kB / 0.6595 GB, free: 1.852 MB / 458.7 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) * 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.0007474/0.7135, allocations: 0.7877 MB / 0.6603 GB, free: 1.047 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.7138, allocations: 360.8 kB / 0.6607 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7139, allocations: 0 / 0.6607 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.714, allocations: 136.6 kB / 0.6608 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.7141, allocations: 3.812 kB / 0.6608 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.7146, allocations: 223.8 kB / 0.661 GB, free: 356 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.715, allocations: 0.6924 MB / 0.6617 GB, free: 15.63 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.715, allocations: 0 / 0.6617 GB, free: 15.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.715, allocations: 17.48 kB / 0.6617 GB, free: 15.62 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.715, allocations: 0 / 0.6617 GB, free: 15.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.7366, allocations: 2.447 MB / 0.6641 GB, free: 13.19 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.7369, allocations: 148.2 kB / 0.6642 GB, free: 12.99 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.401, allocations: 1.969 kB / 0.6642 GB, free: 12.99 MB / 474.7 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)