Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.00212/0.00212, allocations: 182.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5227/0.5227, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.65/1.65, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.001009/0.001009, allocations: 100.2 kB / 427.4 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 16 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 72.3 MB / 0.5689 GB, free: 1.812 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6197, allocations: 104 MB / 0.6705 GB, free: 452 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.6202, allocations: 79.95 kB / 0.6705 GB, free: 372 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.6441, allocations: 7.695 MB / 0.6781 GB, free: 8.664 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.6441, allocations: 0 / 0.6781 GB, free: 8.664 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.6442, allocations: 8 kB / 0.6781 GB, free: 8.656 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001217/0.6454, allocations: 0.6076 MB / 0.6787 GB, free: 7.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.6455, allocations: 12.02 kB / 0.6787 GB, free: 7.984 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.715e-05/0.6456, allocations: 46.56 kB / 0.6787 GB, free: 7.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.6458, allocations: 39.56 kB / 0.6788 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.6464, allocations: 290.6 kB / 0.679 GB, free: 7.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.6464, allocations: 12.28 kB / 0.679 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.6465, allocations: 20 kB / 0.6791 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.647, allocations: 248.5 kB / 0.6793 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.647, allocations: 0 / 0.6793 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.6471, allocations: 8 kB / 0.6793 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.6471, allocations: 7.953 kB / 0.6793 GB, free: 7.258 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.6478, allocations: 239.8 kB / 0.6795 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.6492, allocations: 0.9657 MB / 0.6805 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.65, allocations: 257.2 kB / 0.6807 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.65, allocations: 320 / 0.6807 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.6501, allocations: 42.55 kB / 0.6808 GB, free: 5.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 9.91e-07/0.6501, allocations: 0 / 0.6808 GB, free: 5.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.001236/0.6513, allocations: 393.1 kB / 0.6811 GB, free: 5.277 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.6514, allocations: 85.09 kB / 0.6812 GB, free: 5.176 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.6516, allocations: 234.2 kB / 0.6815 GB, free: 4.945 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.6517, allocations: 25.7 kB / 0.6815 GB, free: 4.914 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6518, allocations: 172 kB / 0.6816 GB, free: 4.738 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.6519, allocations: 51.27 kB / 0.6817 GB, free: 4.688 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.6519, allocations: 4 kB / 0.6817 GB, free: 4.684 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.652, allocations: 338.8 kB / 0.682 GB, free: 4.344 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.6524, allocations: 123.8 kB / 0.6821 GB, free: 4.223 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.6527, allocations: 157.9 kB / 0.6823 GB, free: 4.047 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.6531, allocations: 116.5 kB / 0.6824 GB, free: 3.934 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6531, allocations: 4 kB / 0.6824 GB, free: 3.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008581/0.654, allocations: 345 kB / 0.6827 GB, free: 3.586 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.654, allocations: 4 kB / 0.6827 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.654, allocations: 4 kB / 0.6827 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6541, allocations: 0 / 0.6827 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.6544, allocations: 75.88 kB / 0.6828 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6544, allocations: 4.125 kB / 0.6828 GB, free: 3.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.6547, allocations: 55.73 kB / 0.6829 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.6547, allocations: 12 kB / 0.6829 GB, free: 3.434 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001461/0.6549, allocations: 137.7 kB / 0.683 GB, free: 3.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.655, allocations: 31.62 kB / 0.683 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008407/0.6559, allocations: 335.3 kB / 0.6834 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6559, allocations: 0 / 0.6834 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6559, allocations: 96 / 0.6834 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6559, allocations: 7.938 kB / 0.6834 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.6563, allocations: 301.3 kB / 0.6837 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6563, allocations: 0 / 0.6837 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.6566, allocations: 63.95 kB / 0.6837 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6566, allocations: 0 / 0.6837 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.6566, allocations: 11.98 kB / 0.6837 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6566, allocations: 0 / 0.6837 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6567, allocations: 3.938 kB / 0.6837 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.6575, allocations: 494.8 kB / 0.6842 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.6576, allocations: 108.7 kB / 0.6843 GB, free: 1.863 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.6577, allocations: 0 / 0.6843 GB, free: 1.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.658, allocations: 35.97 kB / 0.6843 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.6581, allocations: 19.97 kB / 0.6844 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6581, allocations: 8 kB / 0.6844 GB, free: 1.801 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001838/0.6583, allocations: 190 kB / 0.6845 GB, free: 1.617 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6583, allocations: 0 / 0.6845 GB, free: 1.617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.6587, allocations: 60.19 kB / 0.6846 GB, free: 1.559 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001303/0.66, allocations: 1.121 MB / 0.6857 GB, free: 416 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.6607, allocations: 267.9 kB / 0.686 GB, free: 148 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6608, allocations: 0 / 0.686 GB, free: 148 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.6611, allocations: 139.9 kB / 0.6861 GB, free: 8 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.6616, allocations: 65.64 kB / 0.6862 GB, free: 15.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.6632, allocations: 1.675 MB / 0.6878 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.6635, allocations: 0.7596 MB / 0.6885 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.6637, allocations: 34.22 kB / 0.6886 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.6638, allocations: 83.41 kB / 0.6886 GB, free: 13.28 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6638, allocations: 8 kB / 0.6886 GB, free: 13.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.6816, allocations: 5.715 MB / 0.6942 GB, free: 7.758 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.6818, allocations: 187.9 kB / 0.6944 GB, free: 7.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/2.762, allocations: 4.062 kB / 0.6944 GB, free: 7.516 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)