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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001608, allocations: 182.9 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.521/0.521, allocations: 91.98 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.1 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009973, allocations: 92.28 kB / 427.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003365, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 72.31 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4992/0.6552, allocations: 103.5 MB / 0.67 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.6555, allocations: 83.95 kB / 0.6701 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01627/0.6718, allocations: 5.369 MB / 0.6753 GB, free: 11.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.6718, allocations: 0 / 0.6753 GB, free: 11.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6719, allocations: 4 kB / 0.6753 GB, free: 11.54 MB / 474.7 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.0005721/0.6724, allocations: 422.8 kB / 0.6757 GB, free: 11.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6725, allocations: 8.031 kB / 0.6757 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.6725, allocations: 42.5 kB / 0.6758 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.6727, allocations: 11.89 kB / 0.6758 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.6729, allocations: 192.5 kB / 0.676 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6729, allocations: 4 kB / 0.676 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.673, allocations: 4 kB / 0.676 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.6732, allocations: 61.67 kB / 0.676 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6732, allocations: 7.938 kB / 0.676 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.6732, allocations: 7.953 kB / 0.676 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6732, allocations: 4 kB / 0.676 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.6734, allocations: 51.95 kB / 0.6761 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.6739, allocations: 300.8 kB / 0.6764 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.6741, allocations: 58.56 kB / 0.6764 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.6741, allocations: 3.938 kB / 0.6764 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6741, allocations: 42.45 kB / 0.6765 GB, free: 10.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.6742, allocations: 0 / 0.6765 GB, free: 10.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003973/0.6746, allocations: 117.7 kB / 0.6766 GB, free: 10.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6746, allocations: 51.41 kB / 0.6766 GB, free: 9.988 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.6747, allocations: 126.6 kB / 0.6768 GB, free: 9.855 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.6748, allocations: 29.7 kB / 0.6768 GB, free: 9.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.6748, allocations: 92.2 kB / 0.6769 GB, free: 9.727 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.6749, allocations: 15.75 kB / 0.6769 GB, free: 9.711 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-06/0.6749, allocations: 0 / 0.6769 GB, free: 9.711 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.6751, allocations: 322.8 kB / 0.6772 GB, free: 9.387 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/0.6752, allocations: 27.98 kB / 0.6772 GB, free: 9.359 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.6753, allocations: 27.92 kB / 0.6772 GB, free: 9.332 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.6754, allocations: 27.98 kB / 0.6773 GB, free: 9.305 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6754, allocations: 0 / 0.6773 GB, free: 9.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002522/0.6756, allocations: 101.6 kB / 0.6774 GB, free: 9.199 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6756, allocations: 4 kB / 0.6774 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6757, allocations: 4.812 kB / 0.6774 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6757, allocations: 0 / 0.6774 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.6758, allocations: 23.98 kB / 0.6774 GB, free: 9.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6758, allocations: 0 / 0.6774 GB, free: 9.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.6759, allocations: 7.906 kB / 0.6774 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.6759, allocations: 15.92 kB / 0.6774 GB, free: 9.145 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.676, allocations: 113.8 kB / 0.6775 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.6761, allocations: 4 kB / 0.6775 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.6764, allocations: 105.9 kB / 0.6776 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6764, allocations: 11.95 kB / 0.6776 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6764, allocations: 0 / 0.6776 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6764, allocations: 0.5 kB / 0.6777 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.6766, allocations: 177.6 kB / 0.6778 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6767, allocations: 0 / 0.6778 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.6768, allocations: 19.98 kB / 0.6778 GB, free: 8.648 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.6768, allocations: 4 kB / 0.6778 GB, free: 8.645 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.6768, allocations: 4 kB / 0.6778 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6768, allocations: 0 / 0.6778 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6768, allocations: 3.953 kB / 0.6778 GB, free: 8.637 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.6771, allocations: 199.4 kB / 0.678 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.6772, allocations: 85.02 kB / 0.6781 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.6772, allocations: 0 / 0.6781 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.6773, allocations: 11.98 kB / 0.6781 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.6773, allocations: 7.953 kB / 0.6781 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.6774, allocations: 0 / 0.6781 GB, free: 8.305 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.6774, allocations: 108.9 kB / 0.6782 GB, free: 8.199 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6774, allocations: 0 / 0.6782 GB, free: 8.199 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.6777, allocations: 23.94 kB / 0.6783 GB, free: 8.176 MB / 474.7 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 (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.0007252/0.6784, allocations: 0.7436 MB / 0.679 GB, free: 7.406 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.6787, allocations: 59.97 kB / 0.6791 GB, free: 7.348 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6787, allocations: 4 kB / 0.6791 GB, free: 7.344 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.6788, allocations: 35.91 kB / 0.6791 GB, free: 7.309 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.6791, allocations: 14.58 kB / 0.6791 GB, free: 7.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.6798, allocations: 428.7 kB / 0.6795 GB, free: 6.828 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.6801, allocations: 0.6926 MB / 0.6802 GB, free: 6.109 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.6802, allocations: 12.17 kB / 0.6802 GB, free: 6.098 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.6803, allocations: 27.42 kB / 0.6802 GB, free: 6.074 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6803, allocations: 0 / 0.6802 GB, free: 6.074 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.6981, allocations: 1.964 MB / 0.6821 GB, free: 4.262 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.6984, allocations: 188.9 kB / 0.6823 GB, free: 4.023 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.374, allocations: 1.688 kB / 0.6823 GB, free: 4.023 MB / 474.7 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/linux/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)