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.0007059/0.0007059, allocations: 98.42 kB / 16.02 MB, free: 80 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.0007431/0.000743, allocations: 180.4 kB / 16.92 MB, free: 6.922 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.206/1.206, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6317/0.6317, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.000276, allocations: 12.89 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 77.54 MB / 0.5601 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001368/0.1194, allocations: 1.134 MB / 0.5612 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1206, allocations: 0.7843 MB / 0.5619 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.1206, allocations: 3.938 kB / 0.5619 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.1207, allocations: 7.984 kB / 0.5619 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.1207, allocations: 4 kB / 0.562 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.1212, allocations: 125.4 kB / 0.5621 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.1213, allocations: 39.86 kB / 0.5621 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.1214, allocations: 4 kB / 0.5621 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1214, allocations: 19.98 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.1215, allocations: 19.91 kB / 0.5622 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1215, allocations: 0 / 0.5622 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.1218, allocations: 187.7 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.1218, allocations: 7.984 kB / 0.5623 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.1219, allocations: 41.58 kB / 0.5624 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1221, allocations: 191.6 kB / 0.5626 GB, free: 6.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1221, allocations: 0 / 0.5626 GB, free: 6.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1221, allocations: 0 / 0.5626 GB, free: 6.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1221, allocations: 3.938 kB / 0.5626 GB, free: 6.32 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.0004075/0.1225, allocations: 427.1 kB / 0.563 GB, free: 5.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1226, allocations: 8.031 kB / 0.563 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.1226, allocations: 30.75 kB / 0.563 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.1227, allocations: 8.844 kB / 0.563 GB, free: 5.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1228, allocations: 176.2 kB / 0.5632 GB, free: 5.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1228, allocations: 8.359 kB / 0.5632 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1228, allocations: 4.375 kB / 0.5632 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.123, allocations: 81.78 kB / 0.5633 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.123, allocations: 4 kB / 0.5633 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.123, allocations: 0 / 0.5633 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.123, allocations: 0 / 0.5633 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1231, allocations: 55.89 kB / 0.5633 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.1235, allocations: 276.8 kB / 0.5636 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1236, allocations: 62.55 kB / 0.5637 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.1237, allocations: 52.91 kB / 0.5637 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.1237, allocations: 0 / 0.5637 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1237, allocations: 38.56 kB / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1237, allocations: 0 / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003627/0.1241, allocations: 195.2 kB / 0.5639 GB, free: 4.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1242, allocations: 81.11 kB / 0.564 GB, free: 4.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.1242, allocations: 122.8 kB / 0.5641 GB, free: 4.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1243, allocations: 33.7 kB / 0.5642 GB, free: 4.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.1243, allocations: 80.14 kB / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1243, allocations: 15.84 kB / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1244, allocations: 13.66 kB / 0.5643 GB, free: 4.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.1245, allocations: 330.8 kB / 0.5646 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.1246, allocations: 55.97 kB / 0.5646 GB, free: 3.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.888e-05/0.1247, allocations: 59.95 kB / 0.5647 GB, free: 3.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1249, allocations: 197.9 kB / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1249, allocations: 0 / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002685/0.1252, allocations: 228.9 kB / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.1252, allocations: 63.39 kB / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1252, allocations: 0 / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.1252, allocations: 0 / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.1253, allocations: 4 kB / 0.5652 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1253, allocations: 3.984 kB / 0.5652 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.1254, allocations: 8 kB / 0.5652 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1254, allocations: 11.98 kB / 0.5652 GB, free: 3.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.258e-05/0.1255, allocations: 143.5 kB / 0.5653 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1255, allocations: 7.906 kB / 0.5653 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.1255, allocations: 15.89 kB / 0.5653 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1256, allocations: 0 / 0.5653 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1256, allocations: 0 / 0.5653 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1256, allocations: 0 / 0.5653 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1257, allocations: 173.6 kB / 0.5655 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1257, allocations: 0 / 0.5655 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.1258, allocations: 8 kB / 0.5655 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1258, allocations: 0 / 0.5655 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1258, allocations: 4 kB / 0.5655 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1258, allocations: 3.938 kB / 0.5655 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1258, allocations: 0 / 0.5655 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1261, allocations: 245.1 kB / 0.5658 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.1261, allocations: 93.27 kB / 0.5658 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1261, allocations: 4 kB / 0.5658 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1262, allocations: 16 kB / 0.5659 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.1263, allocations: 7.969 kB / 0.5659 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1263, allocations: 4 kB / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.1264, allocations: 102.7 kB / 0.566 GB, free: 2.422 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1264, allocations: 0 / 0.566 GB, free: 2.422 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1267, allocations: 56 kB / 0.566 GB, free: 2.367 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 (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.0006096/0.1273, allocations: 0.839 MB / 0.5668 GB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.1276, allocations: 246.8 kB / 0.5671 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1276, allocations: 0 / 0.5671 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1277, allocations: 107.4 kB / 0.5672 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.1279, allocations: 0 / 0.5672 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1295, allocations: 1.774 MB / 0.5689 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.1297, allocations: 0.6848 MB / 0.5696 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.415e-05/0.1298, allocations: 3.984 kB / 0.5696 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.1298, allocations: 11.44 kB / 0.5696 GB, free: 14.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1298, allocations: 0 / 0.5696 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.186/0.3158, allocations: 2.505 MB / 0.572 GB, free: 12.22 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.316, allocations: 237.9 kB / 0.5723 GB, free: 11.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.944, allocations: 3.125 kB / 0.5723 GB, free: 11.96 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)