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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 174.9 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5453/0.5453, allocations: 90.92 MB / 99.35 MB, free: 2.168 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.604/1.604, allocations: 221.5 MB / 343.2 MB, free: 1.574 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.001185/0.001185, allocations: 97.09 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.444e-05, allocations: 8 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 72.32 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5835/0.746, allocations: 100.5 MB / 0.6517 GB, free: 9.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.7464, allocations: 75.08 kB / 0.6518 GB, free: 9.477 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004441/0.7508, allocations: 1.246 MB / 0.653 GB, free: 8.387 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7509, allocations: 0 / 0.653 GB, free: 8.387 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.7509, allocations: 0 / 0.653 GB, free: 8.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005271/0.7514, allocations: 362.2 kB / 0.6534 GB, free: 7.992 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.7515, allocations: 12.03 kB / 0.6534 GB, free: 7.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.7516, allocations: 7.891 kB / 0.6534 GB, free: 7.973 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.7518, allocations: 170.9 kB / 0.6536 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.7519, allocations: 7.938 kB / 0.6536 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.7519, allocations: 4 kB / 0.6536 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.752, allocations: 22.36 kB / 0.6536 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.7521, allocations: 40.38 kB / 0.6536 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.7521, allocations: 0 / 0.6536 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7522, allocations: 0 / 0.6536 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.7522, allocations: 3.953 kB / 0.6536 GB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.7526, allocations: 220 kB / 0.6538 GB, free: 7.445 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.7527, allocations: 48.44 kB / 0.6539 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.7527, allocations: 12.86 kB / 0.6539 GB, free: 7.379 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.7528, allocations: 0 / 0.6539 GB, free: 7.379 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.7528, allocations: 34.38 kB / 0.6539 GB, free: 7.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.7528, allocations: 0 / 0.6539 GB, free: 7.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.01723/0.7701, allocations: 1.217 MB / 0.6551 GB, free: 6.215 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7701, allocations: 54.59 kB / 0.6552 GB, free: 6.152 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.7703, allocations: 100.5 kB / 0.6553 GB, free: 6.051 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.953e-05/0.7704, allocations: 25.7 kB / 0.6553 GB, free: 6.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.7705, allocations: 99.81 kB / 0.6554 GB, free: 5.922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.7706, allocations: 19 kB / 0.6554 GB, free: 5.906 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.7706, allocations: 0 / 0.6554 GB, free: 5.906 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7708, allocations: 322.6 kB / 0.6557 GB, free: 5.586 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.7711, allocations: 112.7 kB / 0.6558 GB, free: 5.512 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.7714, allocations: 111.1 kB / 0.6559 GB, free: 5.438 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.7721, allocations: 161.9 kB / 0.6561 GB, free: 5.316 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7721, allocations: 3.938 kB / 0.6561 GB, free: 5.312 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001145/0.7733, allocations: 320.8 kB / 0.6564 GB, free: 5.066 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.7733, allocations: 8 kB / 0.6564 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7733, allocations: 4.859 kB / 0.6564 GB, free: 5.055 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.7733, allocations: 3.953 kB / 0.6564 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.7749, allocations: 71.86 kB / 0.6565 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7749, allocations: 0 / 0.6565 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.7763, allocations: 55.94 kB / 0.6565 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.7763, allocations: 7.984 kB / 0.6565 GB, free: 4.918 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: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.7766, allocations: 101 kB / 0.6566 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001225/0.7778, allocations: 312.2 kB / 0.6569 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.7779, allocations: 11.86 kB / 0.6569 GB, free: 4.562 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.7781, allocations: 23.86 kB / 0.657 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7781, allocations: 3.938 kB / 0.657 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7781, allocations: 0 / 0.657 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7781, allocations: 0 / 0.657 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005861/0.784, allocations: 0.8283 MB / 0.6578 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.784, allocations: 3.625 kB / 0.6578 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.7851, allocations: 63.25 kB / 0.6578 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.7852, allocations: 0 / 0.6578 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.7852, allocations: 4 kB / 0.6578 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7852, allocations: 0 / 0.6578 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.7852, allocations: 3.984 kB / 0.6578 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.7863, allocations: 342.9 kB / 0.6582 GB, free: 3.297 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.7863, allocations: 85.02 kB / 0.6583 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.7864, allocations: 3.984 kB / 0.6583 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7875, allocations: 47.95 kB / 0.6583 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.7875, allocations: 7.953 kB / 0.6583 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.7875, allocations: 4 kB / 0.6583 GB, free: 3.133 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.7876, allocations: 94.48 kB / 0.6584 GB, free: 3.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7876, allocations: 288 / 0.6584 GB, free: 3.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004326/0.7881, allocations: 99.94 kB / 0.6585 GB, free: 2.949 MB / 458.7 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 () * 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 (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.001543/0.7896, allocations: 1.025 MB / 0.6595 GB, free: 1.914 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006207/0.7902, allocations: 192.4 kB / 0.6597 GB, free: 1.773 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7903, allocations: 4 kB / 0.6597 GB, free: 1.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.7905, allocations: 63.25 kB / 0.6597 GB, free: 1.719 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.7907, allocations: 7.375 kB / 0.6598 GB, free: 1.715 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.7934, allocations: 275.2 kB / 0.66 GB, free: 1.414 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.7938, allocations: 0.6962 MB / 0.6607 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004978/0.7943, allocations: 51.98 kB / 0.6607 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.7947, allocations: 22.3 kB / 0.6608 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7948, allocations: 4 kB / 0.6608 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.8279, allocations: 7.947 MB / 0.6685 GB, free: 8.645 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.8281, allocations: 145 kB / 0.6687 GB, free: 8.449 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.823, allocations: 0.875 kB / 0.6687 GB, free: 8.449 MB / 474.7 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/linux/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)