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.691/1.691, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001098/0.001098, allocations: 179.8 kB / 371.6 MB, free: 3.414 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.853/1.853, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001073/0.001073, allocations: 92.7 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.819e-05/4.822e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2938, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9354/1.229, allocations: 140.4 MB / 1.117 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.23, allocations: 91.95 kB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009464/1.239, allocations: 3.209 MB / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.015e-06/1.239, allocations: 0 / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.164e-05/1.239, allocations: 0 / 1.12 GB, free: 41.85 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.0004817/1.24, allocations: 436.6 kB / 1.121 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.24, allocations: 8.031 kB / 1.121 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/1.24, allocations: 38.5 kB / 1.121 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/1.24, allocations: 4.688 kB / 1.121 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.24, allocations: 175.1 kB / 1.121 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/1.24, allocations: 3.266 kB / 1.121 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/1.24, allocations: 8 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/1.24, allocations: 73.89 kB / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.24, allocations: 0 / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.24, allocations: 0 / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.24, allocations: 0 / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/1.24, allocations: 37.22 kB / 1.121 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/1.241, allocations: 290.4 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.472e-05/1.241, allocations: 53.42 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/1.241, allocations: 45.55 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/1.241, allocations: 0 / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.241, allocations: 30.56 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.241, allocations: 0 / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002905/1.241, allocations: 136.4 kB / 1.122 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.241, allocations: 84.53 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.242, allocations: 121.7 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.242, allocations: 25.7 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/1.242, allocations: 90.73 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/1.242, allocations: 7.906 kB / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.242, allocations: 0 / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/1.242, allocations: 325.6 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/1.242, allocations: 48.56 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/1.242, allocations: 51.75 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.656e-05/1.242, allocations: 111.2 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.242, allocations: 3.938 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002063/1.242, allocations: 205.1 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/1.242, allocations: 63.86 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.242, allocations: 0 / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.242, allocations: 0 / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/1.242, allocations: 4 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.242, allocations: 0 / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/1.242, allocations: 15.91 kB / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/1.242, allocations: 11.84 kB / 1.123 GB, free: 39.41 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 (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 7.129e-05/1.243, allocations: 134.6 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/1.243, allocations: 4 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/1.243, allocations: 7.531 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.243, allocations: 3.328 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.243, allocations: 0.75 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.243, allocations: 4 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/1.243, allocations: 171.8 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.243, allocations: 0 / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/1.243, allocations: 8 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.243, allocations: 0 / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/1.243, allocations: 3.906 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.243, allocations: 4 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.243, allocations: 0 / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/1.243, allocations: 244.2 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/1.243, allocations: 78.42 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/1.243, allocations: 4.625 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/1.243, allocations: 11.5 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/1.243, allocations: 7 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/1.243, allocations: 0 / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.649e-05/1.243, allocations: 94 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.032e-06/1.243, allocations: 0 / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003104/1.244, allocations: 78.48 kB / 1.123 GB, free: 38.55 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 (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.0005619/1.244, allocations: 0.8424 MB / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002486/1.245, allocations: 223.5 kB / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.245, allocations: 0 / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/1.245, allocations: 100.2 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/1.245, allocations: 3.969 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/1.245, allocations: 181 kB / 1.125 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/1.246, allocations: 0.6916 MB / 1.125 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.802e-05/1.246, allocations: 3.938 kB / 1.125 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/1.246, allocations: 10.75 kB / 1.125 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/1.246, allocations: 0 / 1.125 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/1.26, allocations: 2.484 MB / 1.128 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.26, allocations: 191.2 kB / 1.128 GB, free: 35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.902, allocations: 2.844 kB / 1.128 GB, free: 35 MB / 0.7448 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)