Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 188.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.3 MB / 0.7915 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 90.61 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.369e-05/4.418e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3202, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.66/4.98, allocations: 1.729 GB / 2.948 GB, free: 106.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/4.981, allocations: 103.9 kB / 2.948 GB, free: 106.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08707/5.068, allocations: 42.32 MB / 2.989 GB, free: 64.18 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.387e-06/5.068, allocations: 0 / 2.989 GB, free: 64.18 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001387/5.068, allocations: 23.94 kB / 2.989 GB, free: 64.16 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003697/5.072, allocations: 1.427 MB / 2.991 GB, free: 62.66 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/5.072, allocations: 12.03 kB / 2.991 GB, free: 62.65 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/5.072, allocations: 78.48 kB / 2.991 GB, free: 62.57 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006179/5.078, allocations: 0.6379 MB / 2.991 GB, free: 61.93 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/5.082, allocations: 1.709 MB / 2.993 GB, free: 60.17 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/5.083, allocations: 140.1 kB / 2.993 GB, free: 60.02 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/5.083, allocations: 36 kB / 2.993 GB, free: 59.99 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/5.086, allocations: 1.998 MB / 2.995 GB, free: 57.98 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/5.086, allocations: 3.938 kB / 2.995 GB, free: 57.98 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/5.086, allocations: 19.94 kB / 2.995 GB, free: 57.96 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/5.086, allocations: 4 kB / 2.995 GB, free: 57.95 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/5.09, allocations: 2.822 MB / 2.998 GB, free: 55.13 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009655/5.1, allocations: 5.138 MB / 3.003 GB, free: 49.94 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/5.107, allocations: 3.11 MB / 3.006 GB, free: 46.82 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/5.109, allocations: 1.248 MB / 3.007 GB, free: 45.57 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.175e-05/5.109, allocations: 20.41 kB / 3.007 GB, free: 45.55 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/5.111, allocations: 1.913 MB / 3.009 GB, free: 43.61 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 3.897e-06/5.111, allocations: 3.984 kB / 3.009 GB, free: 43.61 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.00374/5.115, allocations: 2.576 MB / 3.012 GB, free: 41.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/5.115, allocations: 97.66 kB / 3.012 GB, free: 40.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/5.119, allocations: 2.441 MB / 3.014 GB, free: 38.46 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003088/5.12, allocations: 49.7 kB / 3.014 GB, free: 38.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/5.12, allocations: 0.6615 MB / 3.015 GB, free: 37.74 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/5.12, allocations: 185.4 kB / 3.015 GB, free: 37.56 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/5.121, allocations: 16 kB / 3.015 GB, free: 37.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/5.121, allocations: 326 kB / 3.015 GB, free: 37.22 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/5.122, allocations: 1.591 MB / 3.017 GB, free: 35.62 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/5.124, allocations: 1.574 MB / 3.018 GB, free: 34.05 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/5.125, allocations: 1.303 MB / 3.02 GB, free: 32.74 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/5.125, allocations: 0 / 3.02 GB, free: 32.74 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003848/5.129, allocations: 3.241 MB / 3.023 GB, free: 29.47 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/5.129, allocations: 87.38 kB / 3.023 GB, free: 29.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/5.129, allocations: 4 kB / 3.023 GB, free: 29.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/5.129, allocations: 7.984 kB / 3.023 GB, free: 29.36 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/5.131, allocations: 219.7 kB / 3.023 GB, free: 29.15 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/5.131, allocations: 4 kB / 3.023 GB, free: 29.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/5.132, allocations: 119.5 kB / 3.023 GB, free: 29.03 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/5.133, allocations: 111.9 kB / 3.023 GB, free: 28.92 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.0004319/5.133, allocations: 182.6 kB / 3.024 GB, free: 28.73 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/5.133, allocations: 177.8 kB / 3.024 GB, free: 28.55 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/5.138, allocations: 2.887 MB / 3.027 GB, free: 25.64 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/5.138, allocations: 12 kB / 3.027 GB, free: 25.63 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/5.138, allocations: 3.938 kB / 3.027 GB, free: 25.63 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/5.138, allocations: 0 / 3.027 GB, free: 25.63 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/5.141, allocations: 2.512 MB / 3.029 GB, free: 23.07 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/5.141, allocations: 0 / 3.029 GB, free: 23.07 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/5.142, allocations: 223.7 kB / 3.029 GB, free: 22.85 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/5.142, allocations: 0 / 3.029 GB, free: 22.85 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/5.142, allocations: 59.92 kB / 3.029 GB, free: 22.79 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/5.142, allocations: 0 / 3.029 GB, free: 22.79 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/5.142, allocations: 0 / 3.029 GB, free: 22.79 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/5.146, allocations: 2.656 MB / 3.032 GB, free: 20.11 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/5.147, allocations: 0.7681 MB / 3.033 GB, free: 19.32 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004746/5.148, allocations: 55.98 kB / 3.033 GB, free: 19.26 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/5.149, allocations: 151.8 kB / 3.033 GB, free: 19.11 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/5.15, allocations: 68.41 kB / 3.033 GB, free: 19.05 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/5.15, allocations: 107.9 kB / 3.033 GB, free: 18.94 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003083/5.153, allocations: 1.899 MB / 3.035 GB, free: 17.05 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.153, allocations: 0 / 3.035 GB, free: 17.05 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001697/5.155, allocations: 463.7 kB / 3.035 GB, free: 16.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.004684/5.159, allocations: 3.553 MB / 3.039 GB, free: 13.02 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003518/5.163, allocations: 3.224 MB / 3.042 GB, free: 9.773 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/5.163, allocations: 0 / 3.042 GB, free: 9.773 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/5.164, allocations: 1.42 MB / 3.043 GB, free: 8.34 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/5.166, allocations: 405.7 kB / 3.044 GB, free: 7.941 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/5.175, allocations: 4.191 MB / 3.048 GB, free: 3.699 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/5.176, allocations: 1.6 MB / 3.049 GB, free: 2.059 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002347/5.178, allocations: 0.7902 MB / 3.05 GB, free: 1.266 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/5.179, allocations: 0.5812 MB / 3.051 GB, free: 0.6875 MB / 1.167 GB Notification: Performance of SimCode: time 2.505e-06/5.179, allocations: 3.938 kB / 3.051 GB, free: 0.6836 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.866/6.045, allocations: 51.63 MB / 3.101 GB, free: 407.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/6.046, allocations: 208.5 kB / 3.101 GB, free: 407 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/9.315, allocations: 0 / 3.101 GB, free: 407 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat does not exist to compare? outputFormat=mat