Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_10_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.001281/0.001281, 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.001301/0.001301, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 0.8693 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.491, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.003806/0.4948, allocations: 3.072 MB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003739/0.4986, allocations: 3.339 MB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.4987, allocations: 4 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4999, allocations: 0.5753 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.5001, allocations: 123 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5014, allocations: 0.709 MB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.5027, allocations: 1.663 MB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.503, allocations: 261.2 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.5034, allocations: 0.584 MB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.504, allocations: 0.6111 MB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.5041, allocations: 143.9 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008113/0.505, allocations: 0.6399 MB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004485/0.5054, allocations: 0.6157 MB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.5061, allocations: 0.8746 MB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.5085, allocations: 3.396 MB / 1.034 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5085, allocations: 3.938 kB / 1.034 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5085, allocations: 0 / 1.034 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.5086, allocations: 0 / 1.034 GB, free: 1.762 MB / 0.7794 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.002841/0.5114, allocations: 2.168 MB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.5114, allocations: 12.03 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.5116, allocations: 74.72 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00592/0.5175, allocations: 0.6466 MB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.5196, allocations: 1.631 MB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.5198, allocations: 136.5 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5199, allocations: 32.38 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/0.5232, allocations: 1.887 MB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5232, allocations: 0 / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5233, allocations: 16 kB / 1.04 GB, free: 10.99 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5233, allocations: 4 kB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005212/0.5286, allocations: 2.622 MB / 1.043 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006674/0.5352, allocations: 4.601 MB / 1.047 GB, free: 3.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009879/0.5451, allocations: 2.899 MB / 1.05 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/0.5475, allocations: 1.185 MB / 1.051 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.745e-05/0.5475, allocations: 16.34 kB / 1.051 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003066/0.5506, allocations: 1.781 MB / 1.053 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.405e-06/0.5506, allocations: 0 / 1.053 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.007639/0.5583, allocations: 3.641 MB / 1.056 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.5583, allocations: 97.66 kB / 1.057 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003402/0.5617, allocations: 2.755 MB / 1.059 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.5619, allocations: 53.69 kB / 1.059 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006472/0.5625, allocations: 0.6971 MB / 1.06 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.5627, allocations: 185.4 kB / 1.06 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/0.5631, allocations: 154.1 kB / 1.06 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5632, allocations: 333.9 kB / 1.061 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.5658, allocations: 1.458 MB / 1.062 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.5683, allocations: 1.43 MB / 1.063 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/0.5728, allocations: 2.215 MB / 1.066 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5728, allocations: 0 / 1.066 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005519/0.5784, allocations: 2.987 MB / 1.068 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.5784, allocations: 83.38 kB / 1.069 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5785, allocations: 3.938 kB / 1.069 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5785, allocations: 4 kB / 1.069 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.5798, allocations: 179.7 kB / 1.069 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5798, allocations: 4 kB / 1.069 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.581, allocations: 115.5 kB / 1.069 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.5812, allocations: 51.88 kB / 1.069 GB, free: 13.19 MB / 0.8262 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.0009321/0.5821, allocations: 0.7769 MB / 1.07 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.5824, allocations: 177.8 kB / 1.07 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005635/0.5881, allocations: 2.669 MB / 1.072 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5881, allocations: 8 kB / 1.072 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5881, allocations: 3.938 kB / 1.072 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5881, allocations: 3.984 kB / 1.072 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.5904, allocations: 2.327 MB / 1.075 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5904, allocations: 4 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.5917, allocations: 179.7 kB / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.5917, allocations: 4 kB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.81e-05/0.5918, allocations: 35.94 kB / 1.075 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5918, allocations: 4 kB / 1.075 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5919, allocations: 0 / 1.075 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/0.5971, allocations: 2.559 MB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008639/0.598, allocations: 0.5844 MB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.5983, allocations: 55.97 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.5997, allocations: 119.9 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.5999, allocations: 56.48 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.6, allocations: 47.94 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002551/0.6025, allocations: 1.983 MB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6025, allocations: 0 / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009412/0.6035, allocations: 375.8 kB / 1.081 GB, free: 1.066 MB / 0.8262 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.006057/0.6096, allocations: 3.25 MB / 1.084 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005716/0.6153, allocations: 3.145 MB / 1.087 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6153, allocations: 3.938 kB / 1.087 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.6179, allocations: 1.349 MB / 1.088 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.6196, allocations: 472 kB / 1.089 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04369/0.6633, allocations: 30.57 MB / 1.118 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.6645, allocations: 1.604 MB / 1.12 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001933/0.6664, allocations: 0.5993 MB / 1.121 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009338/0.6674, allocations: 0.5851 MB / 1.121 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.6674, allocations: 0 / 1.121 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.372/5.04, allocations: 50.53 MB / 1.171 GB, free: 4.234 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/15.45, allocations: 9.109 kB / 1.171 GB, free: 4.227 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)