Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001299/0.001299, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.001259/0.001259, allocations: 189.7 kB / 17.35 MB, free: 5.715 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002247/0.002247, allocations: 279.9 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4672, allocations: 86.96 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003466/0.4707, allocations: 2.109 MB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.4726, allocations: 1.037 MB / 0.7701 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.4729, allocations: 7.938 kB / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.284e-05/0.473, allocations: 23.67 kB / 0.7702 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.4734, allocations: 83.28 kB / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.4739, allocations: 190.9 kB / 0.7704 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.4743, allocations: 298.8 kB / 0.7707 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.4745, allocations: 68.34 kB / 0.7708 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.4747, allocations: 111.5 kB / 0.7709 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.475, allocations: 139.5 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.4751, allocations: 23.94 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.4756, allocations: 295.6 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.4756, allocations: 39.84 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.4758, allocations: 127.1 kB / 0.7715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.4762, allocations: 337.3 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4762, allocations: 0 / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4762, allocations: 4 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.4762, allocations: 0 / 0.7718 GB, free: 15.06 MB / 0.545 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.001128/0.4773, allocations: 0.631 MB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4774, allocations: 8.031 kB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.4776, allocations: 40.55 kB / 0.7725 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.4781, allocations: 275.6 kB / 0.7727 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.4782, allocations: 16.59 kB / 0.7727 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4782, allocations: 16.38 kB / 0.7728 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.4787, allocations: 229 kB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4788, allocations: 4 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.4788, allocations: 11.94 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.4788, allocations: 4 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.4795, allocations: 195.8 kB / 0.7732 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.4806, allocations: 0.9423 MB / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.4814, allocations: 245.1 kB / 0.7743 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.4818, allocations: 105.6 kB / 0.7744 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.4818, allocations: 3.938 kB / 0.7744 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4818, allocations: 42.56 kB / 0.7745 GB, free: 12.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.4818, allocations: 0 / 0.7745 GB, free: 12.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001184/0.483, allocations: 337.4 kB / 0.7748 GB, free: 11.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.4831, allocations: 81.11 kB / 0.7749 GB, free: 11.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.4833, allocations: 262.9 kB / 0.7751 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.4834, allocations: 29.7 kB / 0.7752 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4835, allocations: 164.1 kB / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.4835, allocations: 47.27 kB / 0.7754 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.4836, allocations: 45.7 kB / 0.7754 GB, free: 11.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4837, allocations: 334.8 kB / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.4841, allocations: 91.91 kB / 0.7758 GB, free: 10.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.4844, allocations: 148.4 kB / 0.7759 GB, free: 10.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.4851, allocations: 241.7 kB / 0.7762 GB, free: 10.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4851, allocations: 0 / 0.7762 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008359/0.486, allocations: 297 kB / 0.7765 GB, free: 9.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.486, allocations: 4.156 kB / 0.7765 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.486, allocations: 8 kB / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.486, allocations: 0 / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.4863, allocations: 63.89 kB / 0.7765 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4863, allocations: 7.984 kB / 0.7765 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.4866, allocations: 39.72 kB / 0.7766 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4866, allocations: 8 kB / 0.7766 GB, free: 9.84 MB / 0.545 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.0001147/0.4867, allocations: 140.1 kB / 0.7767 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4868, allocations: 27.66 kB / 0.7767 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.4877, allocations: 295.8 kB / 0.777 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4877, allocations: 4 kB / 0.777 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4877, allocations: 0 / 0.777 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4877, allocations: 3.984 kB / 0.777 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.4881, allocations: 293.3 kB / 0.7773 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4881, allocations: 7.938 kB / 0.7773 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4883, allocations: 47.95 kB / 0.7774 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4883, allocations: 4 kB / 0.7774 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4884, allocations: 8 kB / 0.7774 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4884, allocations: 0 / 0.7774 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4884, allocations: 3.938 kB / 0.7774 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.4892, allocations: 445.3 kB / 0.7778 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.4893, allocations: 104.7 kB / 0.7779 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.4893, allocations: 4 kB / 0.7779 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.4896, allocations: 31.95 kB / 0.7779 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.4897, allocations: 15.98 kB / 0.778 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4897, allocations: 4 kB / 0.778 GB, free: 8.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001769/0.4899, allocations: 194 kB / 0.7781 GB, free: 8.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.613e-06/0.4899, allocations: 0 / 0.7781 GB, free: 8.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003681/0.4903, allocations: 59.86 kB / 0.7782 GB, free: 8.086 MB / 0.545 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.0001903/0.4905, allocations: 115.5 kB / 0.7783 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007539/0.4912, allocations: 231.7 kB / 0.7785 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4912, allocations: 3.938 kB / 0.7785 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.4916, allocations: 120.1 kB / 0.7787 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.4921, allocations: 80.38 kB / 0.7787 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.493, allocations: 463.6 kB / 0.7792 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.4933, allocations: 0.748 MB / 0.7799 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.4934, allocations: 31.42 kB / 0.7799 GB, free: 6.25 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.4934, allocations: 0 / 0.7799 GB, free: 6.25 MB / 0.545 GB Notification: Performance of Templates: time 0.00596/0.4994, allocations: 3.515 MB / 0.7834 GB, free: 2.77 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)