Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 180.5 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 91.59 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 9.156 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.4393, allocations: 134.1 MB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4396, allocations: 79.95 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02207/0.4617, allocations: 7.556 MB / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4618, allocations: 0 / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.688e-05/0.4618, allocations: 4 kB / 1.039 GB, free: 1.867 MB / 0.6823 GB 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.001104/0.4629, allocations: 0.6076 MB / 1.039 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.463, allocations: 12.03 kB / 1.039 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.457e-05/0.4631, allocations: 46.55 kB / 1.039 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.4633, allocations: 35.62 kB / 1.039 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.4638, allocations: 294.6 kB / 1.04 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.4638, allocations: 12.28 kB / 1.04 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4639, allocations: 19.98 kB / 1.04 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.4644, allocations: 248.6 kB / 1.04 GB, free: 488 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4645, allocations: 0 / 1.04 GB, free: 488 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.4645, allocations: 8 kB / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4645, allocations: 4 kB / 1.04 GB, free: 476 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.4652, allocations: 239.8 kB / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4665, allocations: 0.9734 MB / 1.041 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.4673, allocations: 261.2 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.4673, allocations: 4 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4674, allocations: 30.56 kB / 1.041 GB, free: 14.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4674, allocations: 0 / 1.041 GB, free: 14.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001254/0.4686, allocations: 405.9 kB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4687, allocations: 81.11 kB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.469, allocations: 238.2 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.469, allocations: 29.7 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4691, allocations: 156.1 kB / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.4692, allocations: 55.25 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.4692, allocations: 4 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4693, allocations: 338.8 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.4696, allocations: 119.8 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.47, allocations: 167.8 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.4704, allocations: 128 kB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4704, allocations: 0 / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008399/0.4712, allocations: 333.1 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4713, allocations: 4 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4713, allocations: 8.125 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4713, allocations: 0 / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.4716, allocations: 75.88 kB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4716, allocations: 0 / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.4719, allocations: 55.75 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.472, allocations: 15.98 kB / 1.043 GB, free: 12.63 MB / 0.698 GB 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.0001514/0.4721, allocations: 133.7 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.4722, allocations: 31.62 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008392/0.4731, allocations: 339.2 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4731, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4731, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4731, allocations: 4 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.4735, allocations: 293.3 kB / 1.044 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4735, allocations: 3.953 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.4738, allocations: 67.94 kB / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4738, allocations: 0 / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.4739, allocations: 8 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4739, allocations: 0 / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4739, allocations: 3.938 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/0.4747, allocations: 489.6 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.4748, allocations: 108.7 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.4749, allocations: 4 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.4751, allocations: 35.97 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.4752, allocations: 23.95 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4752, allocations: 4 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001683/0.4754, allocations: 190 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.984e-06/0.4754, allocations: 4 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003579/0.4758, allocations: 60.12 kB / 1.045 GB, free: 10.75 MB / 0.698 GB 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.001218/0.477, allocations: 1.119 MB / 1.046 GB, free: 9.605 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007493/0.4778, allocations: 272.1 kB / 1.047 GB, free: 9.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4778, allocations: 8 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.4782, allocations: 139.8 kB / 1.047 GB, free: 9.195 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.4787, allocations: 60.84 kB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.4802, allocations: 1.667 MB / 1.048 GB, free: 7.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4806, allocations: 0.7712 MB / 1.049 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.4808, allocations: 30.52 kB / 1.049 GB, free: 6.551 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.481, allocations: 87.34 kB / 1.049 GB, free: 6.469 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.481, allocations: 0 / 1.049 GB, free: 6.469 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.4986, allocations: 5.738 MB / 1.055 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.4989, allocations: 207.7 kB / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/2.682, allocations: 0 / 1.055 GB, free: 0.7266 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)