Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.652/1.652, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001517/0.001518, allocations: 176.9 kB / 366.7 MB, free: 1.652 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.962/1.962, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.001019/0.001019, allocations: 89.27 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.175e-05/5.196e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.074, allocations: 116.3 MB / 0.9734 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/1.305, allocations: 139.8 MB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.306, allocations: 92.47 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009835/1.316, allocations: 3.206 MB / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/1.316, allocations: 0 / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.316, allocations: 0 / 1.113 GB, free: 7.09 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.0004459/1.316, allocations: 429.7 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.316, allocations: 9.312 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/1.316, allocations: 4 kB / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/1.316, allocations: 170.9 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/1.316, allocations: 4 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/1.316, allocations: 0.8125 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/1.317, allocations: 39.97 kB / 1.114 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/1.317, allocations: 73.64 kB / 1.114 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.317, allocations: 4 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.317, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/1.317, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/1.317, allocations: 257 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/1.317, allocations: 64.23 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/1.317, allocations: 36.92 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/1.317, allocations: 4 kB / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.317, allocations: 31.56 kB / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.317, allocations: 0 / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002712/1.318, allocations: 101.7 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/1.318, allocations: 85.14 kB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/1.318, allocations: 119.2 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.318, allocations: 25.7 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/1.318, allocations: 84.14 kB / 1.115 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/1.318, allocations: 11.89 kB / 1.115 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/1.318, allocations: 4 kB / 1.115 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.318, allocations: 310.8 kB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/1.318, allocations: 51.97 kB / 1.115 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/1.318, allocations: 55.92 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/1.318, allocations: 55.91 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.318, allocations: 4 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002203/1.319, allocations: 141.7 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/1.319, allocations: 59.41 kB / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.319, allocations: 6.422 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.319, allocations: 3.984 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/1.319, allocations: 4 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.319, allocations: 6.375 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/1.319, allocations: 11.91 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/1.319, allocations: 8 kB / 1.115 GB, free: 4.648 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 (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.0001008/1.319, allocations: 138.6 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001922/1.319, allocations: 109.6 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/1.319, allocations: 7.906 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/1.319, allocations: 4.344 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.319, allocations: 4 kB / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.319, allocations: 0 / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.319, allocations: 32 / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/1.319, allocations: 158.2 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.319, allocations: 0 / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/1.32, allocations: 4 kB / 1.116 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.32, allocations: 0 / 1.116 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.32, allocations: 0 / 1.116 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.32, allocations: 4 kB / 1.116 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.32, allocations: 3.984 kB / 1.116 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/1.32, allocations: 211.4 kB / 1.116 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/1.32, allocations: 77.11 kB / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/1.32, allocations: 6.125 kB / 1.116 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/1.32, allocations: 4 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/1.32, allocations: 7.984 kB / 1.116 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/1.32, allocations: 3.938 kB / 1.116 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.569e-05/1.32, allocations: 102.5 kB / 1.116 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.076e-06/1.32, allocations: 0 / 1.116 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003239/1.32, allocations: 63.88 kB / 1.116 GB, free: 3.664 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 (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.0007319/1.321, allocations: 0.8099 MB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002936/1.322, allocations: 222.8 kB / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.322, allocations: 0 / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/1.322, allocations: 99.33 kB / 1.117 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/1.322, allocations: 8.094 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/1.322, allocations: 182.7 kB / 1.117 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/1.323, allocations: 0.6885 MB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.564e-05/1.323, allocations: 0 / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/1.323, allocations: 15.44 kB / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.323, allocations: 0 / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/1.343, allocations: 2.108 MB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.344, allocations: 180.2 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.997, allocations: 0 / 1.12 GB, free: 15.27 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)