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.766/1.766, allocations: 289.7 MB / 302.3 MB, free: 2.109 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.001108/0.001108, allocations: 188.4 kB / 371.6 MB, free: 3.43 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.561/1.561, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.001038/0.001038, allocations: 88.61 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.302e-05/5.329e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3146, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.331, allocations: 139.8 MB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/1.331, allocations: 81.7 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009796/1.341, allocations: 3.173 MB / 1.12 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.356e-06/1.341, allocations: 0 / 1.12 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.31e-05/1.341, allocations: 4 kB / 1.12 GB, free: 42.38 MB / 0.7448 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.0004761/1.341, allocations: 429.6 kB / 1.12 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/1.342, allocations: 12.88 kB / 1.12 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/1.342, allocations: 38.19 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/1.342, allocations: 13.7 kB / 1.12 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.342, allocations: 174.5 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.342, allocations: 3.266 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/1.342, allocations: 4 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.342, allocations: 92.81 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/1.342, allocations: 3.938 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/1.342, allocations: 4 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.342, allocations: 1.5 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/1.342, allocations: 57.33 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/1.342, allocations: 186.8 kB / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/1.343, allocations: 75.78 kB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/1.343, allocations: 68.95 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/1.343, allocations: 0 / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/1.343, allocations: 31.78 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/1.343, allocations: 4 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003113/1.343, allocations: 194.1 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/1.343, allocations: 88.06 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.343, allocations: 127.7 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/1.343, allocations: 25.7 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/1.343, allocations: 91.39 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/1.343, allocations: 15.14 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/1.343, allocations: 0 / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.343, allocations: 318.1 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/1.344, allocations: 100.6 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/1.344, allocations: 99.42 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/1.344, allocations: 157.8 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.344, allocations: 0.8438 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003317/1.344, allocations: 320 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/1.344, allocations: 71.39 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.344, allocations: 4.016 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.344, allocations: 4.875 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/1.344, allocations: 0 / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.344, allocations: 0 / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/1.344, allocations: 12 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/1.344, allocations: 8 kB / 1.122 GB, free: 39.68 MB / 0.7448 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 9.406e-05/1.345, allocations: 140.5 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/1.345, allocations: 11.86 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/1.345, allocations: 7.719 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.345, allocations: 0 / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.345, allocations: 0.5 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.345, allocations: 0 / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/1.345, allocations: 174.9 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.345, allocations: 5.875 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/1.345, allocations: 0 / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.345, allocations: 7.953 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.345, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.345, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.345, allocations: 1.969 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/1.345, allocations: 227.8 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/1.345, allocations: 85.02 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/1.345, allocations: 7.984 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/1.345, allocations: 7.375 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/1.345, allocations: 7.688 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/1.345, allocations: 7.859 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.029e-05/1.345, allocations: 101.3 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.224e-06/1.345, allocations: 0 / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002948/1.346, allocations: 82.52 kB / 1.123 GB, free: 38.81 MB / 0.7448 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.0006468/1.346, allocations: 0.8179 MB / 1.124 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003697/1.347, allocations: 366.9 kB / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.347, allocations: 0 / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.347, allocations: 134.6 kB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/1.347, allocations: 7.953 kB / 1.124 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/1.347, allocations: 220.5 kB / 1.125 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/1.348, allocations: 0.7063 MB / 1.125 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.446e-06/1.348, allocations: 1.312 kB / 1.125 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/1.348, allocations: 14.69 kB / 1.125 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/1.348, allocations: 0 / 1.125 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/1.364, allocations: 2.848 MB / 1.128 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/1.364, allocations: 160.2 kB / 1.128 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/3.117, allocations: 0 / 1.128 GB, free: 34.89 MB / 0.7448 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)