Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7523/0.7523, allocations: 128.7 MB / 143.7 MB, free: 2.336 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 182.4 kB / 173.7 MB, free: 6.148 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 84.06 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 10.88 kB / 0.5605 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1669, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.3358, allocations: 104.2 MB / 0.7372 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004617/0.3363, allocations: 99.92 kB / 0.7373 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.3476, allocations: 3.3 MB / 0.7405 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3477, allocations: 0 / 0.7405 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3477, allocations: 0 / 0.7405 GB, free: 2.664 MB / 0.5105 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.0005526/0.3483, allocations: 442.5 kB / 0.741 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.3483, allocations: 8.031 kB / 0.741 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.3484, allocations: 34.56 kB / 0.741 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.3484, allocations: 7.859 kB / 0.741 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3486, allocations: 171 kB / 0.7412 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3486, allocations: 4 kB / 0.7412 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3486, allocations: 7.938 kB / 0.7412 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3488, allocations: 73.67 kB / 0.7413 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3489, allocations: 0 / 0.7413 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3489, allocations: 4 kB / 0.7413 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3489, allocations: 0 / 0.7413 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.349, allocations: 55.91 kB / 0.7413 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.3495, allocations: 276.8 kB / 0.7416 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3497, allocations: 70.5 kB / 0.7416 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.3497, allocations: 0 / 0.7416 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3497, allocations: 34.59 kB / 0.7417 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3497, allocations: 0 / 0.7417 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004532/0.3502, allocations: 268.4 kB / 0.7419 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3503, allocations: 85.12 kB / 0.742 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3504, allocations: 116.9 kB / 0.7421 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3504, allocations: 25.7 kB / 0.7422 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.3505, allocations: 95.98 kB / 0.7422 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.3505, allocations: 3.906 kB / 0.7422 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.3505, allocations: 4 kB / 0.7423 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3506, allocations: 322.8 kB / 0.7426 GB, free: 348 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3507, allocations: 59.97 kB / 0.7426 GB, free: 288 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.3508, allocations: 59.95 kB / 0.7427 GB, free: 228 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3509, allocations: 111.4 kB / 0.7428 GB, free: 104 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.351, allocations: 0 / 0.7428 GB, free: 104 kB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.362/0.713, allocations: 209 kB / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.7131, allocations: 63.5 kB / 0.743 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7132, allocations: 1.141 kB / 0.743 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.7132, allocations: 0.6875 kB / 0.743 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.7133, allocations: 10.25 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7133, allocations: 1.766 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.7134, allocations: 10.61 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.7134, allocations: 7.141 kB / 0.7431 GB, free: 108.4 MB / 0.5105 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 0.0001202/0.7135, allocations: 155.5 kB / 0.7432 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.7136, allocations: 5.125 kB / 0.7432 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.7136, allocations: 5.281 kB / 0.7432 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.7136, allocations: 0.6875 kB / 0.7432 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7136, allocations: 1.969 kB / 0.7432 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7136, allocations: 3.469 kB / 0.7432 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.7138, allocations: 176 kB / 0.7434 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7138, allocations: 3.953 kB / 0.7434 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.7139, allocations: 5.969 kB / 0.7434 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7139, allocations: 2.062 kB / 0.7434 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.7139, allocations: 2.562 kB / 0.7434 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7139, allocations: 1.188 kB / 0.7434 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7139, allocations: 0 / 0.7434 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.7142, allocations: 248 kB / 0.7437 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.7142, allocations: 86.53 kB / 0.7437 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.7143, allocations: 3.5 kB / 0.7437 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.7143, allocations: 7.438 kB / 0.7437 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.7144, allocations: 10.8 kB / 0.7438 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.7144, allocations: 3.141 kB / 0.7438 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.7145, allocations: 102.7 kB / 0.7439 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7145, allocations: 0 / 0.7439 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000451/0.715, allocations: 71.7 kB / 0.7439 GB, free: 107.8 MB / 0.5105 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.0006758/0.7157, allocations: 0.8476 MB / 0.7448 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.716, allocations: 240.1 kB / 0.745 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.716, allocations: 1.125 kB / 0.745 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.7161, allocations: 111.8 kB / 0.7451 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.7163, allocations: 0.625 kB / 0.7451 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.7169, allocations: 410.3 kB / 0.7455 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.7171, allocations: 0.6944 MB / 0.7462 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.598e-05/0.7171, allocations: 0 / 0.7462 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.7172, allocations: 15.34 kB / 0.7462 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.7172, allocations: 3.938 kB / 0.7462 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.7317, allocations: 2.473 MB / 0.7486 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.732, allocations: 229.8 kB / 0.7488 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.411, allocations: 4.203 kB / 0.7488 GB, free: 105.5 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)