Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.393/2.393, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.00149/0.00149, allocations: 176.9 kB / 360.6 MB, free: 7.289 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.039/2.039, allocations: 205.2 MB / 0.6191 GB, free: 12.17 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.00112/0.001119, allocations: 89.75 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.64e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8638, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.1, allocations: 138.6 MB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.101, allocations: 93.67 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01606/1.117, allocations: 3.192 MB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.402e-06/1.117, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.117, allocations: 0.6875 kB / 1.102 GB, free: 14.59 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.0005646/1.118, allocations: 434.4 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.118, allocations: 8.812 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/1.118, allocations: 9.141 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.118, allocations: 177.5 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.118, allocations: 2.156 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/1.118, allocations: 6.844 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/1.118, allocations: 31.98 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/1.118, allocations: 69.67 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.118, allocations: 3.812 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.118, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.118, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/1.119, allocations: 261.4 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.119, allocations: 54.5 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/1.119, allocations: 46.31 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/1.119, allocations: 1 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/1.119, allocations: 36.47 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.135e-06/1.119, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003695/1.12, allocations: 101.7 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/1.12, allocations: 81.11 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/1.12, allocations: 120.9 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.12, allocations: 25.7 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/1.12, allocations: 84.14 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/1.12, allocations: 15.84 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/1.12, allocations: 0 / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.12, allocations: 318.8 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/1.12, allocations: 47.98 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/1.12, allocations: 51.97 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/1.121, allocations: 51.97 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.121, allocations: 6.625 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003912/1.121, allocations: 148.3 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/1.121, allocations: 63.34 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/1.121, allocations: 0 / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.121, allocations: 2.578 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.121, allocations: 7.984 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.121, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/1.121, allocations: 11.91 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/1.121, allocations: 0 / 1.104 GB, free: 12.15 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.0001223/1.121, allocations: 150.4 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002841/1.122, allocations: 113.6 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/1.122, allocations: 3.906 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/1.122, allocations: 8.344 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.122, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.122, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.122, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/1.122, allocations: 154.2 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/1.122, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/1.122, allocations: 8.031 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.122, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/1.122, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.122, allocations: 1.484 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.122, allocations: 1.125 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/1.123, allocations: 211.3 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/1.123, allocations: 85.09 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/1.123, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/1.123, allocations: 12.03 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/1.123, allocations: 3.984 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/1.123, allocations: 4.656 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.056e-05/1.123, allocations: 97.34 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.4e-07/1.123, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005295/1.124, allocations: 71.88 kB / 1.105 GB, free: 11.15 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.001045/1.125, allocations: 0.8031 MB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004038/1.125, allocations: 226.7 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.125, allocations: 0 / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/1.125, allocations: 98.77 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/1.125, allocations: 4 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/1.126, allocations: 185.1 kB / 1.106 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.127, allocations: 0.6924 MB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.268e-05/1.127, allocations: 0 / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/1.127, allocations: 15.44 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/1.127, allocations: 0 / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/1.163, allocations: 2.109 MB / 1.109 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/1.163, allocations: 182 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.438, allocations: 0 / 1.109 GB, free: 6.766 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)