Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.000794, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005492/0.005492, allocations: 170.4 kB / 16.27 MB, free: 6.32 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003989, allocations: 11.22 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3591, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002501/0.3616, allocations: 1.847 MB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3636, allocations: 1.063 MB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3638, allocations: 7.938 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.557e-05/0.3638, allocations: 11.86 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.3642, allocations: 67.42 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3646, allocations: 155.7 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.365, allocations: 278.8 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3652, allocations: 52.72 kB / 1.078 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3653, allocations: 87.58 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.3655, allocations: 131.4 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.3656, allocations: 8 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.366, allocations: 283.6 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.366, allocations: 39.78 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3661, allocations: 125 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.3665, allocations: 327 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3665, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3665, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3665, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 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.0011/0.3676, allocations: 0.6117 MB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3677, allocations: 8.031 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.3679, allocations: 32.66 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.3683, allocations: 279.5 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3683, allocations: 12.66 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.3684, allocations: 16.31 kB / 1.079 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.3689, allocations: 256.9 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3689, allocations: 3.938 kB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.369, allocations: 8 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.369, allocations: 4 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.3697, allocations: 239.8 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.3709, allocations: 0.9539 MB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/0.3717, allocations: 261.2 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.3721, allocations: 129.6 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3721, allocations: 8.234 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3722, allocations: 38.55 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3722, allocations: 4 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001268/0.3735, allocations: 397.1 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3735, allocations: 85.11 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.3738, allocations: 267 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3738, allocations: 25.7 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3739, allocations: 160.1 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.374, allocations: 55.17 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.374, allocations: 21.7 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3742, allocations: 338.8 kB / 1.083 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.3745, allocations: 111.9 kB / 1.083 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.3749, allocations: 172.7 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007539/0.3757, allocations: 278.4 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3757, allocations: 7.938 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009414/0.3767, allocations: 341 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3767, allocations: 8 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3767, allocations: 96 / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3767, allocations: 7.938 kB / 1.083 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.3771, allocations: 84 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3771, allocations: 4 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.3773, allocations: 47.75 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3774, allocations: 8 kB / 1.084 GB, free: 13.49 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.3775, allocations: 137.8 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3776, allocations: 31.66 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009117/0.3785, allocations: 327.1 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3786, allocations: 7.984 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3786, allocations: 0 / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3786, allocations: 0 / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.379, allocations: 289.4 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.379, allocations: 7.938 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.3793, allocations: 67.95 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3793, allocations: 0 / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3793, allocations: 3.938 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3793, allocations: 4 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3793, allocations: 3.984 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.3802, allocations: 487.5 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.3803, allocations: 104.8 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3804, allocations: 7.984 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.3807, allocations: 31.97 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.3807, allocations: 23.97 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3808, allocations: 7.938 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001867/0.381, allocations: 190 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.381, allocations: 0 / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003705/0.3813, allocations: 60.03 kB / 1.085 GB, free: 11.63 MB / 0.8419 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 (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.0002071/0.3815, allocations: 115.5 kB / 1.085 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008314/0.3824, allocations: 273.8 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3824, allocations: 4 kB / 1.086 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.3828, allocations: 147.8 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.3834, allocations: 70.78 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.3843, allocations: 0.5287 MB / 1.086 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3846, allocations: 0.748 MB / 1.087 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.3847, allocations: 38.5 kB / 1.087 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.3848, allocations: 23.44 kB / 1.087 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3848, allocations: 0 / 1.087 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of Templates: time 0.007558/0.3924, allocations: 3.547 MB / 1.091 GB, free: 6.152 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)