Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001234/0.001234, allocations: 100.1 kB / 15.88 MB, free: 12 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.00126/0.00126, allocations: 205.2 kB / 16.79 MB, free: 6.84 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.205/1.205, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6164/0.6164, allocations: 115.3 MB / 406 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 64.45 kB / 493 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.113, allocations: 76.19 MB / 0.5559 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002372/0.1154, allocations: 1.617 MB / 0.5574 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1167, allocations: 0.9282 MB / 0.5583 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.1168, allocations: 3.938 kB / 0.5583 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.1169, allocations: 3.938 kB / 0.5584 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.117, allocations: 23.78 kB / 0.5584 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1173, allocations: 107.7 kB / 0.5585 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.1174, allocations: 71.72 kB / 0.5585 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.1175, allocations: 11.98 kB / 0.5586 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.172e-05/0.1175, allocations: 31.86 kB / 0.5586 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1176, allocations: 39.83 kB / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1177, allocations: 0 / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.118, allocations: 283.6 kB / 0.5589 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.118, allocations: 8 kB / 0.5589 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.1181, allocations: 31.8 kB / 0.5589 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1183, allocations: 143.9 kB / 0.5591 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1183, allocations: 0 / 0.5591 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1183, allocations: 0 / 0.5591 GB, free: 7.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1183, allocations: 0 / 0.5591 GB, free: 7.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004866/0.1188, allocations: 415.1 kB / 0.5595 GB, free: 6.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1188, allocations: 8.031 kB / 0.5595 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.1189, allocations: 42.69 kB / 0.5595 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.119, allocations: 12.83 kB / 0.5595 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1191, allocations: 188.2 kB / 0.5597 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1191, allocations: 4.375 kB / 0.5597 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1192, allocations: 384 / 0.5597 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1193, allocations: 61.8 kB / 0.5598 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1193, allocations: 4 kB / 0.5598 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1194, allocations: 3.984 kB / 0.5598 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1194, allocations: 4 kB / 0.5598 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1195, allocations: 43.97 kB / 0.5598 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1199, allocations: 296.7 kB / 0.5601 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1201, allocations: 58.53 kB / 0.5602 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.1202, allocations: 32.97 kB / 0.5602 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.1202, allocations: 0 / 0.5602 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1202, allocations: 30.56 kB / 0.5602 GB, free: 6.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1202, allocations: 0 / 0.5602 GB, free: 6.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003712/0.1206, allocations: 117.5 kB / 0.5603 GB, free: 5.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.1206, allocations: 51.41 kB / 0.5604 GB, free: 5.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.1207, allocations: 136.3 kB / 0.5605 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1208, allocations: 25.7 kB / 0.5605 GB, free: 5.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.1208, allocations: 88.14 kB / 0.5606 GB, free: 5.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1208, allocations: 27.8 kB / 0.5607 GB, free: 5.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1209, allocations: 17.72 kB / 0.5607 GB, free: 5.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.121, allocations: 330.8 kB / 0.561 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.1211, allocations: 23.92 kB / 0.561 GB, free: 5.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.1211, allocations: 19.98 kB / 0.561 GB, free: 5.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1213, allocations: 56.77 kB / 0.5611 GB, free: 5.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1213, allocations: 0 / 0.5611 GB, free: 5.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002074/0.1215, allocations: 97.56 kB / 0.5612 GB, free: 5.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1215, allocations: 4 kB / 0.5612 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1215, allocations: 0 / 0.5612 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1215, allocations: 0 / 0.5612 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1217, allocations: 15.98 kB / 0.5612 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1217, allocations: 0 / 0.5612 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.1217, allocations: 11.84 kB / 0.5612 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1218, allocations: 4 kB / 0.5612 GB, free: 4.977 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 6.902e-05/0.1218, allocations: 113.8 kB / 0.5613 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.1219, allocations: 11.98 kB / 0.5613 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1221, allocations: 101.9 kB / 0.5614 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1221, allocations: 0 / 0.5614 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1221, allocations: 0.5 kB / 0.5614 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1221, allocations: 0 / 0.5614 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1223, allocations: 193.5 kB / 0.5616 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1223, allocations: 4 kB / 0.5616 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.1224, allocations: 8 kB / 0.5616 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1224, allocations: 7.984 kB / 0.5616 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1224, allocations: 4 kB / 0.5616 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1224, allocations: 0 / 0.5616 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1225, allocations: 0 / 0.5616 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1227, allocations: 191.3 kB / 0.5618 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.1227, allocations: 85.02 kB / 0.5619 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1228, allocations: 0 / 0.5619 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.1228, allocations: 8 kB / 0.5619 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1229, allocations: 3.984 kB / 0.5619 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1229, allocations: 8 kB / 0.5619 GB, free: 4.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.337e-05/0.123, allocations: 95.27 kB / 0.562 GB, free: 4.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.123, allocations: 0 / 0.562 GB, free: 4.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1232, allocations: 24 kB / 0.562 GB, free: 4.035 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0005131/0.1237, allocations: 0.7395 MB / 0.5627 GB, free: 3.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1239, allocations: 51.97 kB / 0.5628 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1239, allocations: 0 / 0.5628 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.124, allocations: 35.91 kB / 0.5628 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1243, allocations: 15.94 kB / 0.5628 GB, free: 3.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1257, allocations: 1.46 MB / 0.5643 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1259, allocations: 0.6965 MB / 0.565 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.126, allocations: 8 kB / 0.565 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.126, allocations: 23.42 kB / 0.565 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.126, allocations: 0 / 0.565 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5125/0.6386, allocations: 2.096 MB / 0.567 GB, free: 14.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.6389, allocations: 210.5 kB / 0.5672 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.353, allocations: 0 / 0.5672 GB, free: 14.67 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)