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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007266/0.0007266, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007344/0.0007344, allocations: 173.6 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6216/0.6216, allocations: 113.7 MB / 405.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.0002741, allocations: 12 kB / 493.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001296/0.119, allocations: 1.126 MB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.12, allocations: 0.73 MB / 0.5587 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1201, allocations: 0 / 0.5587 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.1201, allocations: 4 kB / 0.5587 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.795e-05/0.1202, allocations: 4 kB / 0.5587 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.1207, allocations: 127.5 kB / 0.5589 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.1207, allocations: 27.98 kB / 0.5589 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.1208, allocations: 15.97 kB / 0.5589 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.1208, allocations: 7.938 kB / 0.5589 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.1209, allocations: 23.91 kB / 0.5589 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1209, allocations: 0 / 0.5589 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.1212, allocations: 183.8 kB / 0.5591 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.1212, allocations: 7.984 kB / 0.5591 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1212, allocations: 29.7 kB / 0.5591 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1214, allocations: 131.7 kB / 0.5593 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1214, allocations: 0 / 0.5593 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1214, allocations: 0 / 0.5593 GB, free: 9.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1214, allocations: 0 / 0.5593 GB, free: 9.258 MB / 430.1 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.0003927/0.1218, allocations: 422.9 kB / 0.5597 GB, free: 8.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1219, allocations: 12.03 kB / 0.5597 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.1219, allocations: 42.55 kB / 0.5597 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1219, allocations: 11.91 kB / 0.5597 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.122, allocations: 167 kB / 0.5599 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1221, allocations: 4 kB / 0.5599 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1221, allocations: 3.953 kB / 0.5599 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1223, allocations: 77.66 kB / 0.56 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1223, allocations: 0 / 0.56 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1223, allocations: 0 / 0.56 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1223, allocations: 4 kB / 0.56 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1224, allocations: 55.91 kB / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1227, allocations: 280.8 kB / 0.5603 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/0.1229, allocations: 62.55 kB / 0.5604 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.1229, allocations: 52.91 kB / 0.5604 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.123, allocations: 0 / 0.5604 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.123, allocations: 30.56 kB / 0.5604 GB, free: 7.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.123, allocations: 0 / 0.5604 GB, free: 7.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003312/0.1233, allocations: 187.3 kB / 0.5606 GB, free: 7.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1234, allocations: 85.11 kB / 0.5607 GB, free: 7.574 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.1235, allocations: 127.6 kB / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1235, allocations: 25.7 kB / 0.5608 GB, free: 7.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.1236, allocations: 100 kB / 0.5609 GB, free: 7.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.1236, allocations: 7.844 kB / 0.5609 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.1236, allocations: 0 / 0.5609 GB, free: 7.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.1237, allocations: 318.8 kB / 0.5612 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.1238, allocations: 59.95 kB / 0.5613 GB, free: 6.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.1239, allocations: 59.97 kB / 0.5614 GB, free: 6.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.124, allocations: 115.4 kB / 0.5615 GB, free: 6.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.124, allocations: 3.953 kB / 0.5615 GB, free: 6.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002529/0.1243, allocations: 221 kB / 0.5617 GB, free: 6.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.1243, allocations: 63.39 kB / 0.5617 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1243, allocations: 4 kB / 0.5617 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1243, allocations: 3.938 kB / 0.5618 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.1244, allocations: 4 kB / 0.5618 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1244, allocations: 0 / 0.5618 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1245, allocations: 15.89 kB / 0.5618 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1245, allocations: 0 / 0.5618 GB, free: 6.398 MB / 430.1 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 () * 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.361e-05/0.1246, allocations: 151.5 kB / 0.5619 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1246, allocations: 7.953 kB / 0.5619 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.1246, allocations: 11.91 kB / 0.5619 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1246, allocations: 4 kB / 0.5619 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1246, allocations: 0 / 0.5619 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1247, allocations: 240 / 0.5619 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1248, allocations: 169.6 kB / 0.5621 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1248, allocations: 0 / 0.5621 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.1248, allocations: 7.953 kB / 0.5621 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1249, allocations: 3.984 kB / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1249, allocations: 4 kB / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1249, allocations: 4.062 kB / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1249, allocations: 7.984 kB / 0.5621 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1251, allocations: 249 kB / 0.5624 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.1252, allocations: 81.11 kB / 0.5624 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1252, allocations: 3.953 kB / 0.5624 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.1253, allocations: 12.03 kB / 0.5625 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.1253, allocations: 7.984 kB / 0.5625 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1254, allocations: 4 kB / 0.5625 GB, free: 5.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.011e-05/0.1254, allocations: 91.27 kB / 0.5626 GB, free: 5.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 4 kB / 0.5626 GB, free: 5.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1257, allocations: 63.98 kB / 0.5626 GB, free: 5.418 MB / 430.1 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) * 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.0005703/0.1263, allocations: 0.8318 MB / 0.5634 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1266, allocations: 242.7 kB / 0.5637 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1266, allocations: 3.938 kB / 0.5637 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1267, allocations: 107.4 kB / 0.5638 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.1269, allocations: 11.34 kB / 0.5638 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.1279, allocations: 0.7331 MB / 0.5645 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1281, allocations: 0.6848 MB / 0.5652 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.378e-05/0.1281, allocations: 0 / 0.5652 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.1281, allocations: 15.44 kB / 0.5652 GB, free: 2.66 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1281, allocations: 0 / 0.5652 GB, free: 2.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.1393, allocations: 2.522 MB / 0.5676 GB, free: 352 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.1394, allocations: 219.3 kB / 0.5679 GB, free: 108 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/1.6, allocations: 6.406 kB / 0.5679 GB, free: 104 kB / 430.1 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) Environment - environmentSimulation: