Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.001402/0.001402, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7177/0.7177, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009588/0.0009589, allocations: 98 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.466e-05/4.528e-05, allocations: 3.281 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.203, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6505/0.8535, allocations: 112.7 MB / 0.7506 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.8539, allocations: 89.25 kB / 0.7507 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.8653, allocations: 3.243 MB / 0.7539 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.697e-06/0.8654, allocations: 6.906 kB / 0.7539 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.8654, allocations: 3.938 kB / 0.7539 GB, free: 27.56 MB / 0.5105 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.0006178/0.866, allocations: 437.9 kB / 0.7543 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.8661, allocations: 7.656 kB / 0.7543 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.989e-05/0.8662, allocations: 30.56 kB / 0.7543 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.8662, allocations: 3.875 kB / 0.7543 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.8664, allocations: 173 kB / 0.7545 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.8664, allocations: 3.984 kB / 0.7545 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.8665, allocations: 7.844 kB / 0.7545 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.8667, allocations: 71.55 kB / 0.7546 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.8667, allocations: 0 / 0.7546 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.8667, allocations: 0 / 0.7546 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8668, allocations: 0 / 0.7546 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.8668, allocations: 47.25 kB / 0.7546 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.8674, allocations: 278.9 kB / 0.7549 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.8675, allocations: 56.83 kB / 0.755 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.8676, allocations: 43.08 kB / 0.755 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.8676, allocations: 0 / 0.755 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.8677, allocations: 30.56 kB / 0.755 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.8677, allocations: 0 / 0.755 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003606/0.868, allocations: 141.2 kB / 0.7552 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.8681, allocations: 79.88 kB / 0.7552 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.8683, allocations: 114.5 kB / 0.7553 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.8683, allocations: 29.58 kB / 0.7554 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.8684, allocations: 86.62 kB / 0.7555 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.8684, allocations: 15.34 kB / 0.7555 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.8684, allocations: 0 / 0.7555 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8686, allocations: 321.5 kB / 0.7558 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.8687, allocations: 52.64 kB / 0.7558 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.8688, allocations: 48.39 kB / 0.7559 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.8689, allocations: 112.1 kB / 0.756 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8689, allocations: 0 / 0.756 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003043/0.8692, allocations: 212.8 kB / 0.7562 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/0.8693, allocations: 61.95 kB / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.8693, allocations: 0 / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.8694, allocations: 0 / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.8694, allocations: 3.969 kB / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.8695, allocations: 0 / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.8695, allocations: 14.56 kB / 0.7563 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.8696, allocations: 7.844 kB / 0.7563 GB, free: 25.55 MB / 0.5105 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 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001482/0.8697, allocations: 140.3 kB / 0.7564 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.8698, allocations: 7.25 kB / 0.7564 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.8699, allocations: 7.406 kB / 0.7564 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8699, allocations: 0 / 0.7564 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.8699, allocations: 3.875 kB / 0.7564 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8699, allocations: 0 / 0.7564 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.8702, allocations: 176.2 kB / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8702, allocations: 0 / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.8702, allocations: 7.812 kB / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.8702, allocations: 0 / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.8703, allocations: 3.719 kB / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.8703, allocations: 2.906 kB / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8703, allocations: 0 / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.8706, allocations: 239.2 kB / 0.7568 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.8707, allocations: 88.59 kB / 0.7569 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.8707, allocations: 0 / 0.7569 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.8708, allocations: 13.69 kB / 0.7569 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.8709, allocations: 5.391 kB / 0.7569 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-06/0.8709, allocations: 3.75 kB / 0.7569 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.871, allocations: 100.1 kB / 0.757 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.8e-07/0.871, allocations: 0 / 0.757 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004031/0.8714, allocations: 68.27 kB / 0.7571 GB, free: 24.84 MB / 0.5105 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0009038/0.8723, allocations: 0.8343 MB / 0.7579 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.8727, allocations: 228.1 kB / 0.7581 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8727, allocations: 0 / 0.7581 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.8728, allocations: 96.38 kB / 0.7582 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.873, allocations: 9.391 kB / 0.7582 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.8736, allocations: 188.7 kB / 0.7584 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.8739, allocations: 0.6907 MB / 0.7591 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.874, allocations: 0 / 0.7591 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.874, allocations: 12.86 kB / 0.7591 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.874, allocations: 3.656 kB / 0.7591 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.8888, allocations: 2.476 MB / 0.7615 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.8891, allocations: 182.5 kB / 0.7617 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.43, allocations: 0 / 0.7617 GB, free: 21.95 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)