Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",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.001309/0.001309, allocations: 108 kB / 15.6 MB, free: 132 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.001206/0.001206, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.566/2.566, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 69.17 kB / 0.9087 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2401, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004104/0.2443, allocations: 3.087 MB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004078/0.2484, allocations: 3.342 MB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2485, allocations: 4 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.2497, allocations: 0.5597 MB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.2499, allocations: 130.9 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.2513, allocations: 0.6979 MB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.2527, allocations: 1.675 MB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.2531, allocations: 265.2 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.2536, allocations: 0.5801 MB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.2542, allocations: 0.6111 MB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.2544, allocations: 136 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.2553, allocations: 0.6438 MB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.2558, allocations: 0.6157 MB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.2565, allocations: 0.8745 MB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.2594, allocations: 3.404 MB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2594, allocations: 0 / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2594, allocations: 0 / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2594, allocations: 0 / 1.08 GB, free: 13.53 MB / 0.8419 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.002944/0.2623, allocations: 2.172 MB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2624, allocations: 8.031 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.2625, allocations: 74.72 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/0.2681, allocations: 0.6465 MB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.2703, allocations: 1.631 MB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.2705, allocations: 132.5 kB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2706, allocations: 28.38 kB / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/0.2739, allocations: 1.891 MB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2739, allocations: 0 / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.274, allocations: 12 kB / 1.087 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2741, allocations: 12 kB / 1.087 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005271/0.2793, allocations: 2.614 MB / 1.089 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006973/0.2863, allocations: 4.612 MB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009553/0.2959, allocations: 2.897 MB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.2982, allocations: 1.185 MB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.2982, allocations: 16.33 kB / 1.098 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00305/0.3013, allocations: 1.781 MB / 1.1 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 1.874e-06/0.3013, allocations: 0 / 1.1 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.007461/0.3088, allocations: 3.645 MB / 1.103 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3088, allocations: 93.66 kB / 1.103 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.3121, allocations: 2.751 MB / 1.106 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.3122, allocations: 57.69 kB / 1.106 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006846/0.3129, allocations: 0.6971 MB / 1.107 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.3131, allocations: 177.5 kB / 1.107 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.3135, allocations: 162.1 kB / 1.107 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3136, allocations: 329.9 kB / 1.107 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/0.3162, allocations: 1.458 MB / 1.109 GB, free: 92 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.3188, allocations: 1.426 MB / 1.11 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.3233, allocations: 2.219 MB / 1.112 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3233, allocations: 0 / 1.112 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005567/0.3289, allocations: 2.983 MB / 1.115 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.329, allocations: 83.38 kB / 1.115 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.329, allocations: 0 / 1.115 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.329, allocations: 4 kB / 1.115 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.3303, allocations: 179.7 kB / 1.115 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3303, allocations: 4 kB / 1.115 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3314, allocations: 115.5 kB / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.3315, allocations: 51.81 kB / 1.116 GB, free: 8.973 MB / 0.8731 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 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008974/0.3324, allocations: 0.784 MB / 1.116 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.3327, allocations: 173.8 kB / 1.117 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005531/0.3382, allocations: 2.673 MB / 1.119 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3383, allocations: 8 kB / 1.119 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3383, allocations: 0 / 1.119 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3383, allocations: 3.938 kB / 1.119 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.3407, allocations: 2.319 MB / 1.121 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3407, allocations: 0 / 1.121 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.342, allocations: 183.6 kB / 1.122 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.342, allocations: 7.938 kB / 1.122 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.3421, allocations: 43.94 kB / 1.122 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.3421, allocations: 4 kB / 1.122 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3421, allocations: 0 / 1.122 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.3473, allocations: 2.555 MB / 1.124 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008556/0.3481, allocations: 0.5807 MB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.3484, allocations: 59.97 kB / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.3497, allocations: 119.8 kB / 1.125 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3499, allocations: 52.5 kB / 1.125 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.35, allocations: 59.92 kB / 1.125 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002505/0.3525, allocations: 1.976 MB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3525, allocations: 4 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008982/0.3534, allocations: 367.9 kB / 1.127 GB, free: 12.85 MB / 0.8887 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.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.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.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * 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 (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.00587/0.3593, allocations: 3.266 MB / 1.13 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005699/0.365, allocations: 3.145 MB / 1.134 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.365, allocations: 4 kB / 1.134 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.3676, allocations: 1.342 MB / 1.135 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.369, allocations: 465.7 kB / 1.135 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0434/0.4124, allocations: 30.58 MB / 1.165 GB, free: 4.926 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.4137, allocations: 1.604 MB / 1.167 GB, free: 3.293 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001864/0.4156, allocations: 0.5954 MB / 1.167 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009478/0.4166, allocations: 0.5851 MB / 1.168 GB, free: 2.109 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/0.4166, allocations: 0 / 1.168 GB, free: 2.109 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.003/2.419, allocations: 50.54 MB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.77/23.19, allocations: 21.3 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)