Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_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.001003/0.001003, allocations: 180.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5153/0.5153, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 343.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 108 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.713e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1497, allocations: 72.3 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5539/0.7037, allocations: 102.3 MB / 0.6535 GB, free: 7.734 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.704, allocations: 89.56 kB / 0.6536 GB, free: 7.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009725/0.7138, allocations: 3.242 MB / 0.6568 GB, free: 4.863 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.7138, allocations: 0 / 0.6568 GB, free: 4.863 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.7138, allocations: 4 kB / 0.6568 GB, free: 4.859 MB / 458.7 MB 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.0004392/0.7143, allocations: 428.8 kB / 0.6572 GB, free: 4.391 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7143, allocations: 12.03 kB / 0.6572 GB, free: 4.379 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.7144, allocations: 11.84 kB / 0.6572 GB, free: 4.367 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.7145, allocations: 167.1 kB / 0.6574 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.7145, allocations: 4 kB / 0.6574 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.7146, allocations: 0 / 0.6574 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.7147, allocations: 40.98 kB / 0.6574 GB, free: 4.129 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.7148, allocations: 66.86 kB / 0.6575 GB, free: 4.066 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7148, allocations: 0 / 0.6575 GB, free: 4.066 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.7149, allocations: 11.98 kB / 0.6575 GB, free: 4.055 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.7149, allocations: 3.953 kB / 0.6575 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.7153, allocations: 263.4 kB / 0.6578 GB, free: 3.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.7153, allocations: 48.94 kB / 0.6578 GB, free: 3.723 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.7154, allocations: 43.42 kB / 0.6578 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.7154, allocations: 1.125 kB / 0.6578 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.7155, allocations: 38.56 kB / 0.6579 GB, free: 3.641 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7155, allocations: 0 / 0.6579 GB, free: 3.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002449/0.7157, allocations: 102.6 kB / 0.658 GB, free: 3.547 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7158, allocations: 84.62 kB / 0.6581 GB, free: 3.449 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.7159, allocations: 112 kB / 0.6582 GB, free: 3.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.7159, allocations: 25.7 kB / 0.6582 GB, free: 3.309 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.7159, allocations: 91.75 kB / 0.6583 GB, free: 3.219 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.716, allocations: 3.906 kB / 0.6583 GB, free: 3.215 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.716, allocations: 4.031 kB / 0.6583 GB, free: 3.211 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.7161, allocations: 318 kB / 0.6586 GB, free: 2.895 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.7162, allocations: 50.28 kB / 0.6586 GB, free: 2.855 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.7162, allocations: 57.16 kB / 0.6587 GB, free: 2.812 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.7163, allocations: 45.97 kB / 0.6587 GB, free: 2.777 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7163, allocations: 3.938 kB / 0.6587 GB, free: 2.773 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002124/0.7166, allocations: 147.2 kB / 0.6589 GB, free: 2.648 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.7166, allocations: 64.02 kB / 0.6589 GB, free: 2.574 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.7166, allocations: 0 / 0.6589 GB, free: 2.574 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7167, allocations: 4 kB / 0.6589 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.7167, allocations: 4 kB / 0.6589 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.7167, allocations: 0 / 0.6589 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.7168, allocations: 15.94 kB / 0.659 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.7168, allocations: 4 kB / 0.659 GB, free: 2.547 MB / 458.7 MB 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 9.947e-05/0.7169, allocations: 133.7 kB / 0.6591 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000174/0.7171, allocations: 113.4 kB / 0.6592 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.7171, allocations: 7.938 kB / 0.6592 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.7172, allocations: 8.375 kB / 0.6592 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7172, allocations: 0 / 0.6592 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.7172, allocations: 11.94 kB / 0.6592 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7172, allocations: 0 / 0.6592 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.7174, allocations: 146.8 kB / 0.6594 GB, free: 2.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7174, allocations: 0.9375 kB / 0.6594 GB, free: 2.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.7174, allocations: 7.984 kB / 0.6594 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7174, allocations: 0 / 0.6594 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.7174, allocations: 0 / 0.6594 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7174, allocations: 0 / 0.6594 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7174, allocations: 8 kB / 0.6594 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.7177, allocations: 206.8 kB / 0.6596 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.7177, allocations: 81.02 kB / 0.6597 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.7177, allocations: 4 kB / 0.6597 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.7178, allocations: 7.984 kB / 0.6597 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.7179, allocations: 7.5 kB / 0.6597 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.7179, allocations: 0 / 0.6597 GB, free: 1.777 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.718, allocations: 101.3 kB / 0.6598 GB, free: 1.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.543e-06/0.718, allocations: 0 / 0.6598 GB, free: 1.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00036/0.7183, allocations: 74.92 kB / 0.6598 GB, free: 1.613 MB / 458.7 MB 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.000693/0.719, allocations: 0.7908 MB / 0.6606 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.7193, allocations: 234.9 kB / 0.6608 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7193, allocations: 0 / 0.6608 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.834e-05/0.7194, allocations: 101.9 kB / 0.6609 GB, free: 500 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.7196, allocations: 0 / 0.6609 GB, free: 500 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.7201, allocations: 182.8 kB / 0.6611 GB, free: 296 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.7203, allocations: 0.6923 MB / 0.6618 GB, free: 15.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.436e-05/0.7203, allocations: 0 / 0.6618 GB, free: 15.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.7204, allocations: 15.12 kB / 0.6618 GB, free: 15.56 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7204, allocations: 4.062 kB / 0.6618 GB, free: 15.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.7414, allocations: 2.105 MB / 0.6639 GB, free: 13.46 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.7416, allocations: 168.6 kB / 0.664 GB, free: 13.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.329, allocations: 32 / 0.664 GB, free: 13.28 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)