Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_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.00168/0.00168, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.54/2.54, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.577/4.577, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006217/0.000622, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.224, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004932/1.229, allocations: 2.516 MB / 0.9833 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006166/1.235, allocations: 2.922 MB / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/1.236, allocations: 0 / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/1.238, allocations: 0.6738 MB / 0.9868 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005674/1.239, allocations: 123.7 kB / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/1.241, allocations: 0.554 MB / 0.9875 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002024/1.243, allocations: 1.063 MB / 0.9885 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004789/1.244, allocations: 243.8 kB / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/1.245, allocations: 474.5 kB / 0.9892 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/1.246, allocations: 0.4981 MB / 0.9897 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/1.246, allocations: 56 kB / 0.9898 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/1.248, allocations: 0.4954 MB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007512/1.248, allocations: 494.6 kB / 0.9907 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006275/1.249, allocations: 340.8 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003258/1.252, allocations: 2.482 MB / 0.9935 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.252, allocations: 0 / 0.9935 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.767e-06/1.252, allocations: 4 kB / 0.9935 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.32e-05/1.253, allocations: 0 / 0.9935 GB, free: 9.324 MB / 0.7481 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.004628/1.257, allocations: 1.783 MB / 0.9952 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/1.257, allocations: 8.031 kB / 0.9952 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003181/1.258, allocations: 82.45 kB / 0.9953 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006792/1.264, allocations: 0.6729 MB / 0.996 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/1.267, allocations: 1.218 MB / 0.9971 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/1.268, allocations: 135.9 kB / 0.9973 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.268, allocations: 36 kB / 0.9973 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004205/1.272, allocations: 1.899 MB / 0.9992 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/1.272, allocations: 0 / 0.9992 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/1.272, allocations: 12 kB / 0.9992 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/1.272, allocations: 8 kB / 0.9992 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/1.278, allocations: 2.657 MB / 1.002 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/1.289, allocations: 4.281 MB / 1.006 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/1.301, allocations: 2.973 MB / 1.009 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/1.302, allocations: 20.41 kB / 1.009 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007093/1.309, allocations: 1.8 MB / 1.011 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 6.703e-06/1.309, allocations: 4 kB / 1.011 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.01517/1.324, allocations: 3.772 MB / 1.014 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/1.324, allocations: 97.66 kB / 1.014 GB, free: 3.547 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006751/1.331, allocations: 2.357 MB / 1.017 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006621/1.332, allocations: 57.62 kB / 1.017 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/1.333, allocations: 0.697 MB / 1.017 GB, free: 388 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006567/1.334, allocations: 189.5 kB / 1.018 GB, free: 196 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.334, allocations: 12 kB / 1.018 GB, free: 184 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.334, allocations: 330 kB / 1.018 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005884/1.34, allocations: 1.466 MB / 1.019 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005718/1.346, allocations: 1.453 MB / 1.021 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/1.351, allocations: 1.231 MB / 1.022 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.351, allocations: 3.938 kB / 1.022 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01257/1.364, allocations: 3.018 MB / 1.025 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/1.364, allocations: 79.38 kB / 1.025 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.364, allocations: 0 / 1.025 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/1.364, allocations: 0 / 1.025 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/1.367, allocations: 207.6 kB / 1.025 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/1.367, allocations: 4 kB / 1.025 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/1.37, allocations: 119.5 kB / 1.025 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/1.37, allocations: 43.94 kB / 1.025 GB, free: 8.184 MB / 0.7794 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.coiCap.stage,$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00301/1.373, allocations: 0.7802 MB / 1.026 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009443/1.374, allocations: 181.7 kB / 1.026 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.387, allocations: 2.708 MB / 1.029 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/1.387, allocations: 4 kB / 1.029 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/1.387, allocations: 0 / 1.029 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/1.387, allocations: 7.984 kB / 1.029 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006954/1.394, allocations: 2.198 MB / 1.031 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.394, allocations: 0 / 1.031 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.397, allocations: 195.7 kB / 1.031 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/1.397, allocations: 3.953 kB / 1.031 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/1.397, allocations: 43.94 kB / 1.031 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.397, allocations: 0 / 1.031 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.397, allocations: 0 / 1.031 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007473/1.405, allocations: 2.594 MB / 1.034 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.407, allocations: 0.5103 MB / 1.034 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/1.407, allocations: 67.92 kB / 1.034 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.409, allocations: 143.9 kB / 1.035 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.409, allocations: 64.45 kB / 1.035 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.409, allocations: 47.94 kB / 1.035 GB, free: 14.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00344/1.412, allocations: 1.699 MB / 1.036 GB, free: 12.78 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/1.412, allocations: 0 / 1.036 GB, free: 12.78 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001758/1.414, allocations: 363.8 kB / 1.037 GB, free: 12.43 MB / 0.795 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 (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.007499/1.422, allocations: 3.297 MB / 1.04 GB, free: 9.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006632/1.428, allocations: 3.02 MB / 1.043 GB, free: 6.043 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.428, allocations: 4 kB / 1.043 GB, free: 6.039 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003433/1.432, allocations: 1.365 MB / 1.044 GB, free: 4.664 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.435, allocations: 413.9 kB / 1.045 GB, free: 4.258 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04715/1.482, allocations: 18.49 MB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/1.484, allocations: 1.638 MB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002373/1.487, allocations: 491.1 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.488, allocations: 0.5656 MB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of SimCode: time 1.052e-06/1.488, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/1.601, allocations: 43.78 MB / 1.108 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/1.601, allocations: 182.4 kB / 1.108 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.173/6.774, allocations: 4 kB / 1.108 GB, free: 2.848 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) Environment - environmentSimulation: