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.001074/0.001074, allocations: 106.3 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7411/0.7411, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 77.92 MB / 0.5673 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00272/0.3481, allocations: 1.405 MB / 0.5687 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3494, allocations: 0.776 MB / 0.5694 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.3494, allocations: 1.062 kB / 0.5694 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.636e-05/0.3495, allocations: 5.156 kB / 0.5694 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.3496, allocations: 8.719 kB / 0.5694 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.3504, allocations: 172.4 kB / 0.5696 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.3506, allocations: 41 kB / 0.5696 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.3507, allocations: 13.12 kB / 0.5697 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.3507, allocations: 18.27 kB / 0.5697 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.3508, allocations: 18.77 kB / 0.5697 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3508, allocations: 4.062 kB / 0.5697 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.3512, allocations: 195.3 kB / 0.5699 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.3512, allocations: 15.27 kB / 0.5699 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.3513, allocations: 19.69 kB / 0.5699 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.3515, allocations: 196.3 kB / 0.5701 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3516, allocations: 0 / 0.5701 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3516, allocations: 0.9375 kB / 0.5701 GB, free: 31.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3516, allocations: 0 / 0.5701 GB, free: 31.22 MB / 446.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.0004336/0.352, allocations: 436 kB / 0.5705 GB, free: 30.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3521, allocations: 10.91 kB / 0.5705 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.336e-05/0.3521, allocations: 32.58 kB / 0.5706 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.3521, allocations: 12.78 kB / 0.5706 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.3522, allocations: 172.9 kB / 0.5707 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.3522, allocations: 1.594 kB / 0.5707 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3522, allocations: 4.688 kB / 0.5707 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3524, allocations: 79.97 kB / 0.5708 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3524, allocations: 1.625 kB / 0.5708 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3524, allocations: 2.578 kB / 0.5708 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3525, allocations: 0 / 0.5708 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3526, allocations: 46.61 kB / 0.5709 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.3529, allocations: 279.3 kB / 0.5711 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.353, allocations: 57.98 kB / 0.5712 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.3531, allocations: 55.02 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.3531, allocations: 1.375 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.3531, allocations: 33.34 kB / 0.5713 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3531, allocations: 0 / 0.5713 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004815/0.3536, allocations: 181.6 kB / 0.5715 GB, free: 30 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.3537, allocations: 79.97 kB / 0.5715 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.3538, allocations: 127.6 kB / 0.5716 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3538, allocations: 28.14 kB / 0.5717 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.3538, allocations: 83.41 kB / 0.5718 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3538, allocations: 14.66 kB / 0.5718 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.3539, allocations: 23.97 kB / 0.5718 GB, free: 29.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.3539, allocations: 318.5 kB / 0.5721 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3541, allocations: 62.73 kB / 0.5722 GB, free: 29.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.3542, allocations: 64.78 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3544, allocations: 189.4 kB / 0.5724 GB, free: 29.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3544, allocations: 4.594 kB / 0.5724 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000276/0.3546, allocations: 213.9 kB / 0.5726 GB, free: 29.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.3547, allocations: 66.81 kB / 0.5727 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3547, allocations: 1.906 kB / 0.5727 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3547, allocations: 0 / 0.5727 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.3548, allocations: 5.25 kB / 0.5727 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3548, allocations: 0 / 0.5727 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.3549, allocations: 14.92 kB / 0.5727 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3549, allocations: 2.766 kB / 0.5727 GB, free: 28.98 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/0.355, allocations: 156 kB / 0.5728 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.355, allocations: 2 kB / 0.5728 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.355, allocations: 8.5 kB / 0.5729 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.355, allocations: 1.094 kB / 0.5729 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3551, allocations: 64 / 0.5729 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3551, allocations: 9.172 kB / 0.5729 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.3552, allocations: 175.6 kB / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3552, allocations: 0 / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.3552, allocations: 6.844 kB / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3552, allocations: 1.312 kB / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3553, allocations: 1.812 kB / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3553, allocations: 0 / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3553, allocations: 1.688 kB / 0.573 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3555, allocations: 253 kB / 0.5733 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.3555, allocations: 79.02 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3556, allocations: 2.375 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.3556, allocations: 6.047 kB / 0.5734 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.3557, allocations: 12.91 kB / 0.5734 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3557, allocations: 3.25 kB / 0.5734 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.3558, allocations: 95.48 kB / 0.5735 GB, free: 28.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3558, allocations: 1.531 kB / 0.5735 GB, free: 28.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3561, allocations: 53.25 kB / 0.5735 GB, free: 28.24 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007075/0.3568, allocations: 0.8414 MB / 0.5743 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.3571, allocations: 243.6 kB / 0.5746 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3571, allocations: 0 / 0.5746 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3572, allocations: 100.1 kB / 0.5747 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.3575, allocations: 11.84 kB / 0.5747 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3592, allocations: 1.751 MB / 0.5764 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3594, allocations: 0.6884 MB / 0.5771 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.55e-05/0.3594, allocations: 1.969 kB / 0.5771 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.3595, allocations: 18.05 kB / 0.5771 GB, free: 25.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3595, allocations: 1.656 kB / 0.5771 GB, free: 25.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.3817, allocations: 2.786 MB / 0.5798 GB, free: 24.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.293, allocations: 9.125 kB / 0.5798 GB, free: 24.72 MB / 446.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/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)