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.001628/0.001628, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001776/0.001776, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7019/0.7019, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 69.44 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1543, allocations: 76.17 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00258/0.157, allocations: 1.421 MB / 0.633 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1582, allocations: 0.7761 MB / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.1583, allocations: 0 / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.664e-05/0.1584, allocations: 7.938 kB / 0.6337 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.1585, allocations: 3.938 kB / 0.6338 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.1591, allocations: 171.6 kB / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1593, allocations: 47.91 kB / 0.634 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.1594, allocations: 7.984 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.1594, allocations: 15.98 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.1595, allocations: 19.92 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1595, allocations: 4 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.1599, allocations: 199.7 kB / 0.6342 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.1599, allocations: 23.86 kB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.16, allocations: 15.92 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1603, allocations: 194.4 kB / 0.6344 GB, free: 1.992 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1603, allocations: 0 / 0.6344 GB, free: 1.992 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1603, allocations: 0 / 0.6344 GB, free: 1.992 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1603, allocations: 0 / 0.6344 GB, free: 1.992 MB / 478.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.0005386/0.1609, allocations: 435.6 kB / 0.6348 GB, free: 1.508 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1609, allocations: 8.031 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.161, allocations: 34.75 kB / 0.6349 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.161, allocations: 4.938 kB / 0.6349 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1611, allocations: 172.3 kB / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1612, allocations: 4.375 kB / 0.6351 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1612, allocations: 4.312 kB / 0.6351 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1614, allocations: 77.73 kB / 0.6351 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1614, allocations: 4 kB / 0.6351 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1614, allocations: 0 / 0.6351 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1614, allocations: 4 kB / 0.6351 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1615, allocations: 47.95 kB / 0.6352 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.162, allocations: 284.8 kB / 0.6355 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1621, allocations: 58.5 kB / 0.6355 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.1622, allocations: 48.91 kB / 0.6356 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.1622, allocations: 4 kB / 0.6356 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1622, allocations: 30.56 kB / 0.6356 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.1622, allocations: 3.984 kB / 0.6356 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003741/0.1626, allocations: 187.2 kB / 0.6358 GB, free: 424 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1627, allocations: 81.05 kB / 0.6358 GB, free: 324 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1628, allocations: 129.8 kB / 0.636 GB, free: 184 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1628, allocations: 29.7 kB / 0.636 GB, free: 148 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.1628, allocations: 88.17 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.1629, allocations: 11.84 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.1629, allocations: 25.7 kB / 0.6361 GB, free: 12 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.163, allocations: 314.8 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1631, allocations: 59.95 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.1632, allocations: 55.97 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1635, allocations: 189.9 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1635, allocations: 4 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002671/0.1638, allocations: 221 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.1638, allocations: 68.8 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1638, allocations: 0 / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1639, allocations: 4 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.1639, allocations: 0 / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1639, allocations: 3.938 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.164, allocations: 11.98 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.164, allocations: 0 / 0.637 GB, free: 15.04 MB / 494.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 0.0001046/0.1641, allocations: 155.5 kB / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1641, allocations: 7.906 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.1642, allocations: 3.906 kB / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1642, allocations: 0 / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1642, allocations: 0 / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1642, allocations: 4 kB / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1644, allocations: 177.6 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1644, allocations: 0 / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.1644, allocations: 4 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1644, allocations: 4 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1644, allocations: 3.938 kB / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1644, allocations: 0 / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1644, allocations: 0 / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1647, allocations: 264.9 kB / 0.6376 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.1648, allocations: 81.05 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1648, allocations: 4 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.1649, allocations: 8.031 kB / 0.6377 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.165, allocations: 7.984 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.165, allocations: 4 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.37e-05/0.165, allocations: 95.27 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1651, allocations: 0 / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1654, allocations: 59.98 kB / 0.6379 GB, free: 14.06 MB / 494.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.0006726/0.1661, allocations: 0.8273 MB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.1664, allocations: 242.7 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1664, allocations: 0 / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1665, allocations: 103.4 kB / 0.639 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1667, allocations: 10.06 kB / 0.639 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1684, allocations: 1.744 MB / 0.6407 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1687, allocations: 0.6885 MB / 0.6414 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.1687, allocations: 0 / 0.6414 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1688, allocations: 15.38 kB / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1688, allocations: 0 / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1885, allocations: 2.846 MB / 0.6442 GB, free: 7.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.543, allocations: 13.25 kB / 0.6442 GB, free: 7.539 MB / 494.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)