Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.6 MB / 307.5 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 181 kB / 377.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.6366 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008521/0.0008522, allocations: 90.84 kB / 0.7509 GB, free: 63.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004149, allocations: 15.98 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8028/1.098, allocations: 138.6 MB / 1.124 GB, free: 35.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/1.099, allocations: 82.91 kB / 1.124 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003919/1.102, allocations: 1.237 MB / 1.125 GB, free: 34.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.786e-06/1.103, allocations: 5.531 kB / 1.125 GB, free: 34.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.103, allocations: 0 / 1.125 GB, free: 34.76 MB / 0.7292 GB 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.0004138/1.103, allocations: 379.6 kB / 1.125 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.103, allocations: 12.02 kB / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/1.103, allocations: 30.56 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/1.103, allocations: 7.125 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.103, allocations: 174.5 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.103, allocations: 0.6562 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/1.103, allocations: 7.438 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/1.103, allocations: 60.81 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.103, allocations: 0.7656 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.104, allocations: 0 / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.104, allocations: 3.516 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/1.104, allocations: 40.89 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/1.104, allocations: 256.9 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/1.104, allocations: 82.47 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/1.104, allocations: 9.031 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/1.104, allocations: 32.42 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/1.104, allocations: 0 / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.03292/1.137, allocations: 1.752 MB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.137, allocations: 55.92 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1.137, allocations: 109.3 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/1.137, allocations: 29.7 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/1.138, allocations: 96.31 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/1.138, allocations: 19.66 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/1.138, allocations: 4 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/1.138, allocations: 318.4 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/1.138, allocations: 164.6 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/1.139, allocations: 157.5 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/1.139, allocations: 162 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.139, allocations: 0 / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001137/1.14, allocations: 386.4 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.14, allocations: 8 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.14, allocations: 6.625 kB / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.14, allocations: 0 / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.142, allocations: 76.22 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/1.142, allocations: 4 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.143, allocations: 61.83 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/1.143, allocations: 10.7 kB / 1.129 GB, free: 30.87 MB / 0.7292 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/1.144, allocations: 109.8 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/1.144, allocations: 4.797 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/1.144, allocations: 23.89 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.144, allocations: 0.5625 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.144, allocations: 0.9375 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.144, allocations: 0 / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/1.15, allocations: 0.9153 MB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.15, allocations: 4.5 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.151, allocations: 71.42 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/1.151, allocations: 5.078 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/1.151, allocations: 12.11 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/1.151, allocations: 4.391 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.151, allocations: 0.5469 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009394/1.152, allocations: 397.8 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/1.152, allocations: 85.11 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/1.152, allocations: 3.734 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.153, allocations: 49.98 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/1.153, allocations: 3.469 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/1.153, allocations: 11.91 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.52e-05/1.153, allocations: 99.41 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.153, allocations: 0 / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004328/1.154, allocations: 101 kB / 1.131 GB, free: 29.26 MB / 0.7292 GB 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 (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.001237/1.155, allocations: 1.092 MB / 1.132 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008687/1.156, allocations: 282.3 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.156, allocations: 0 / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/1.156, allocations: 121.4 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/1.156, allocations: 8.938 kB / 1.133 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/1.161, allocations: 1.62 MB / 1.134 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/1.161, allocations: 0.6962 MB / 1.135 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005012/1.162, allocations: 53.09 kB / 1.135 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/1.162, allocations: 40.25 kB / 1.135 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/1.162, allocations: 0 / 1.135 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/1.189, allocations: 9.016 MB / 1.144 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/1.189, allocations: 183.5 kB / 1.144 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/3.313, allocations: 0 / 1.144 GB, free: 20.75 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)