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.808/1.808, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001331/0.001331, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.578/1.578, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008921/0.000892, allocations: 87.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.912e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.6556, allocations: 116.3 MB / 0.9734 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.8391, allocations: 137.9 MB / 1.108 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.8394, allocations: 79.94 kB / 1.108 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00414/0.8436, allocations: 1.236 MB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8436, allocations: 0 / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8436, allocations: 2.688 kB / 1.109 GB, free: 10.9 MB / 0.7136 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.0003899/0.844, allocations: 350.4 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.8441, allocations: 13.81 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.8441, allocations: 3.906 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.8443, allocations: 183.7 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.8443, allocations: 7.828 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.8443, allocations: 0 / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.1e-05/0.8444, allocations: 12.62 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.913e-05/0.8445, allocations: 42.84 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.8445, allocations: 3.984 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8446, allocations: 1.812 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8446, allocations: 1.281 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.8449, allocations: 237.4 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.08e-05/0.845, allocations: 39.98 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.845, allocations: 19.3 kB / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.845, allocations: 0 / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.8451, allocations: 34.64 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.8451, allocations: 0 / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.01678/0.8619, allocations: 1.201 MB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.8619, allocations: 59.41 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.8621, allocations: 107.2 kB / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.8621, allocations: 25.7 kB / 1.112 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.8622, allocations: 91.98 kB / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.8623, allocations: 23.7 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.8624, allocations: 0 / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8625, allocations: 322.8 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.8628, allocations: 108 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.8631, allocations: 116 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.8638, allocations: 169.9 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8639, allocations: 0 / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001165/0.865, allocations: 321.5 kB / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8651, allocations: 4 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8651, allocations: 0 / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8651, allocations: 4 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.8668, allocations: 71.88 kB / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8668, allocations: 0 / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.8682, allocations: 51.94 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.8683, allocations: 4 kB / 1.113 GB, free: 7.148 MB / 0.7136 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 () * 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.0001985/0.8685, allocations: 108.9 kB / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001147/0.8696, allocations: 316.4 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.8697, allocations: 7.906 kB / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.8699, allocations: 19.53 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.8699, allocations: 4 kB / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8699, allocations: 2.625 kB / 1.113 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8699, allocations: 3.953 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005864/0.8758, allocations: 0.8224 MB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8758, allocations: 0 / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.877, allocations: 64 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.877, allocations: 3.953 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.877, allocations: 3.984 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.8771, allocations: 4 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8771, allocations: 0 / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.8781, allocations: 340.4 kB / 1.114 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.8781, allocations: 85 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.8782, allocations: 4 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8793, allocations: 43.95 kB / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.8793, allocations: 11.98 kB / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.8794, allocations: 0 / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.8795, allocations: 91.28 kB / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8795, allocations: 0 / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004296/0.8799, allocations: 107.9 kB / 1.115 GB, free: 5.016 MB / 0.7136 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 () * 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.00143/0.8813, allocations: 1.023 MB / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.882, allocations: 189.1 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.882, allocations: 0 / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.8823, allocations: 71.86 kB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.8825, allocations: 9.062 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.8853, allocations: 284.7 kB / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.8856, allocations: 0.6924 MB / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000543/0.8861, allocations: 48 kB / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.8866, allocations: 23.42 kB / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8866, allocations: 0 / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.9135, allocations: 7.946 MB / 1.125 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.9138, allocations: 153.6 kB / 1.125 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/3.044, allocations: 0 / 1.125 GB, free: 10.45 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)