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.731/1.731, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001467/0.001467, allocations: 185 kB / 377.1 MB, free: 1.52 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.743/1.743, allocations: 205.4 MB / 0.6366 GB, free: 9.566 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.001256/0.001256, allocations: 91.64 kB / 0.7509 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007798/0.0007798, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3939, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8809/1.275, allocations: 140.5 MB / 1.126 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.275, allocations: 94.47 kB / 1.126 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00964/1.285, allocations: 3.221 MB / 1.129 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.906e-06/1.285, allocations: 0.6562 kB / 1.129 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.927e-06/1.285, allocations: 0 / 1.129 GB, free: 32.26 MB / 0.7292 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.0005034/1.285, allocations: 445.6 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/1.286, allocations: 8.031 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/1.286, allocations: 34.5 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/1.286, allocations: 11.69 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/1.286, allocations: 174.6 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/1.286, allocations: 0.6562 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/1.286, allocations: 9.203 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/1.286, allocations: 73.52 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.286, allocations: 4 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/1.286, allocations: 4 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.286, allocations: 1.719 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/1.286, allocations: 50.55 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/1.287, allocations: 279.2 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/1.287, allocations: 61.61 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/1.287, allocations: 4.031 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/1.287, allocations: 35.19 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/1.287, allocations: 0 / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004127/1.287, allocations: 274.3 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/1.287, allocations: 81.14 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/1.287, allocations: 117.1 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/1.287, allocations: 25.7 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/1.287, allocations: 89.08 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/1.287, allocations: 11.38 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/1.287, allocations: 0 / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.337e-05/1.288, allocations: 322.8 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/1.288, allocations: 62.55 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/1.288, allocations: 58.88 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/1.288, allocations: 111.1 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.288, allocations: 4 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002418/1.288, allocations: 210 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/1.288, allocations: 64.69 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.288, allocations: 5.25 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.288, allocations: 4 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/1.288, allocations: 7.938 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.288, allocations: 0 / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/1.288, allocations: 11.38 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/1.288, allocations: 4 kB / 1.131 GB, free: 29.52 MB / 0.7292 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 () * Number of clocked 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 9.493e-05/1.289, allocations: 155.4 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/1.289, allocations: 9.219 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/1.289, allocations: 7.906 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.289, allocations: 0 / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.289, allocations: 0 / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.289, allocations: 4 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/1.289, allocations: 180.5 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.289, allocations: 0 / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/1.289, allocations: 6.203 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.289, allocations: 0 / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.289, allocations: 0 / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.289, allocations: 4.688 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/1.289, allocations: 4 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/1.289, allocations: 258.5 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/1.289, allocations: 77.11 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/1.289, allocations: 4 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/1.289, allocations: 8.203 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.289, allocations: 8.031 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/1.289, allocations: 3.516 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.263e-05/1.289, allocations: 100.6 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.289, allocations: 3.938 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003173/1.29, allocations: 63.94 kB / 1.132 GB, free: 28.59 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0006392/1.29, allocations: 0.8475 MB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002968/1.291, allocations: 243.8 kB / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.291, allocations: 0 / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/1.291, allocations: 103.3 kB / 1.133 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/1.291, allocations: 12.44 kB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/1.292, allocations: 400.5 kB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/1.292, allocations: 0.6949 MB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.135e-05/1.292, allocations: 7.938 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/1.292, allocations: 15.44 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.292, allocations: 0 / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/1.307, allocations: 2.449 MB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/1.308, allocations: 216.3 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.078, allocations: 0 / 1.137 GB, free: 24.71 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)