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.001192/0.001192, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5151/0.5151, allocations: 90.81 MB / 104.5 MB, free: 9.801 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.389/1.389, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 102.1 kB / 421.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.671e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4022, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.5353, allocations: 103.4 MB / 0.6613 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5356, allocations: 90.72 kB / 0.6614 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.5519, allocations: 5.358 MB / 0.6666 GB, free: 11.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5519, allocations: 0 / 0.6666 GB, free: 11.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.552, allocations: 0 / 0.6666 GB, free: 11.46 MB / 490.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.0005195/0.5525, allocations: 402.2 kB / 0.667 GB, free: 11.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5525, allocations: 15.98 kB / 0.667 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.5526, allocations: 34.52 kB / 0.667 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.5527, allocations: 11.91 kB / 0.6671 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.553, allocations: 186.9 kB / 0.6672 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.553, allocations: 8 kB / 0.6672 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.553, allocations: 0.5625 kB / 0.6672 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.5532, allocations: 57.67 kB / 0.6673 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5532, allocations: 3.938 kB / 0.6673 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.5532, allocations: 3.953 kB / 0.6673 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5532, allocations: 4 kB / 0.6673 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.5533, allocations: 27.92 kB / 0.6673 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.5539, allocations: 313.8 kB / 0.6676 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.554, allocations: 42.56 kB / 0.6677 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.554, allocations: 20.98 kB / 0.6677 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.5541, allocations: 3.953 kB / 0.6677 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5541, allocations: 38.5 kB / 0.6677 GB, free: 10.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.5541, allocations: 0 / 0.6677 GB, free: 10.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002411/0.5544, allocations: 65.69 kB / 0.6678 GB, free: 10.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.5544, allocations: 55.41 kB / 0.6679 GB, free: 10.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.5545, allocations: 123.3 kB / 0.668 GB, free: 9.879 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.5546, allocations: 25.7 kB / 0.668 GB, free: 9.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.5546, allocations: 92.14 kB / 0.6681 GB, free: 9.754 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.5547, allocations: 18.27 kB / 0.6681 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.5547, allocations: 0 / 0.6681 GB, free: 9.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5548, allocations: 318.8 kB / 0.6684 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.5549, allocations: 19.98 kB / 0.6684 GB, free: 9.398 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.5549, allocations: 16 kB / 0.6684 GB, free: 9.383 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.5549, allocations: 12 kB / 0.6684 GB, free: 9.371 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5549, allocations: 0 / 0.6684 GB, free: 9.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001512/0.5551, allocations: 73.53 kB / 0.6685 GB, free: 9.293 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5551, allocations: 11.95 kB / 0.6685 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5551, allocations: 0 / 0.6685 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5552, allocations: 0 / 0.6685 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5553, allocations: 15.98 kB / 0.6685 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5553, allocations: 0 / 0.6685 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.5554, allocations: 15.98 kB / 0.6686 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5554, allocations: 0 / 0.6686 GB, free: 9.25 MB / 490.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 () * 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 6.8e-05/0.5555, allocations: 105 kB / 0.6687 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.5555, allocations: 7.906 kB / 0.6687 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.5557, allocations: 85.66 kB / 0.6687 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5557, allocations: 0 / 0.6687 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5557, allocations: 4 kB / 0.6688 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.5557, allocations: 7.984 kB / 0.6688 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.5559, allocations: 189.9 kB / 0.6689 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.556, allocations: 0 / 0.6689 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.764e-05/0.556, allocations: 19.98 kB / 0.669 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5561, allocations: 0 / 0.669 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5561, allocations: 4 kB / 0.669 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.5561, allocations: 3.953 kB / 0.669 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5561, allocations: 1.031 kB / 0.669 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.5563, allocations: 175.4 kB / 0.6691 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.5564, allocations: 81.02 kB / 0.6692 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.5564, allocations: 3.984 kB / 0.6692 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.5565, allocations: 8 kB / 0.6692 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.5565, allocations: 11.92 kB / 0.6692 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.5565, allocations: 8 kB / 0.6692 GB, free: 8.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.5566, allocations: 92.69 kB / 0.6693 GB, free: 8.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5566, allocations: 0 / 0.6693 GB, free: 8.359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.5569, allocations: 31.98 kB / 0.6694 GB, free: 8.328 MB / 490.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 () * 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.000623/0.5575, allocations: 0.7178 MB / 0.6701 GB, free: 7.586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.5576, allocations: 32.55 kB / 0.6701 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5577, allocations: 4 kB / 0.6701 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.5577, allocations: 23.94 kB / 0.6701 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.5579, allocations: 24.25 kB / 0.6701 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.5584, allocations: 146.4 kB / 0.6703 GB, free: 7.328 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.5588, allocations: 0.6926 MB / 0.671 GB, free: 6.609 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.5588, allocations: 8.188 kB / 0.671 GB, free: 6.602 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.5589, allocations: 23.42 kB / 0.671 GB, free: 6.578 MB / 490.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5589, allocations: 0 / 0.671 GB, free: 6.578 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.5722, allocations: 1.975 MB / 0.6729 GB, free: 4.781 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.5724, allocations: 161.5 kB / 0.6731 GB, free: 4.559 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.125, allocations: 64 / 0.6731 GB, free: 4.559 MB / 490.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)