Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.693/1.693, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001395/0.001395, allocations: 172.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0008708/0.0008707, allocations: 88.7 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.614e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7407, allocations: 116.3 MB / 0.9734 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.9412, allocations: 139.1 MB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.9415, allocations: 87.03 kB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009682/0.9512, allocations: 3.171 MB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9512, allocations: 0 / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.9512, allocations: 5.5 kB / 1.112 GB, free: 7.812 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004417/0.9517, allocations: 430.5 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9518, allocations: 12.03 kB / 1.113 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.9518, allocations: 8.719 kB / 1.113 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.952, allocations: 175 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.952, allocations: 5.562 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.952, allocations: 4 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/0.9521, allocations: 55.97 kB / 1.113 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.9523, allocations: 89.64 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.9523, allocations: 2.062 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.9523, allocations: 4 kB / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.9523, allocations: 0 / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.9525, allocations: 158.1 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.9526, allocations: 83.44 kB / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.9527, allocations: 64.89 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.9527, allocations: 7.625 kB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.9527, allocations: 34.56 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.9527, allocations: 0 / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003163/0.953, allocations: 149.6 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.9531, allocations: 85.09 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.9532, allocations: 130 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.9532, allocations: 25.7 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.9533, allocations: 96.16 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.9533, allocations: 7.812 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.9534, allocations: 4 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.9535, allocations: 322.8 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.9536, allocations: 97.44 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.9537, allocations: 95.94 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.9539, allocations: 99.88 kB / 1.115 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9539, allocations: 0 / 1.115 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003539/0.9543, allocations: 249.4 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/0.9544, allocations: 81.75 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.9544, allocations: 0 / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9544, allocations: 3.984 kB / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-06/0.9544, allocations: 0 / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.9544, allocations: 0 / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.9545, allocations: 11.94 kB / 1.115 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.9545, allocations: 7.984 kB / 1.115 GB, free: 5.047 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: 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.0001043/0.9547, allocations: 138.7 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002362/0.9549, allocations: 169.5 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.9549, allocations: 15.84 kB / 1.115 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.955, allocations: 12.34 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.955, allocations: 1.875 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.955, allocations: 0 / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.955, allocations: 0 / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.9551, allocations: 150.2 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9551, allocations: 0.6875 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.9551, allocations: 0 / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9551, allocations: 3.953 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.9551, allocations: 4 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9551, allocations: 7.656 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9551, allocations: 0 / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.9554, allocations: 189 kB / 1.116 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.9555, allocations: 89 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.9555, allocations: 3.953 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.9555, allocations: 4 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.9556, allocations: 11.92 kB / 1.116 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.9556, allocations: 8.031 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.9557, allocations: 103.3 kB / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.753e-06/0.9557, allocations: 0 / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002988/0.956, allocations: 71.88 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB 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.0007219/0.9567, allocations: 0.7802 MB / 1.117 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.9571, allocations: 368.1 kB / 1.117 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.9572, allocations: 0 / 1.117 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.9573, allocations: 135.3 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.9574, allocations: 7.953 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.9579, allocations: 218 kB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.9581, allocations: 0.6963 MB / 1.118 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.532e-06/0.9581, allocations: 0 / 1.118 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.9581, allocations: 15.44 kB / 1.118 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.9582, allocations: 4.125 kB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.98, allocations: 2.463 MB / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.9802, allocations: 146.3 kB / 1.12 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.602, allocations: 0 / 1.12 GB, free: 15.05 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)