Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 103 kB / 16.4 MB, free: 6.449 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.001786/0.001786, allocations: 192 kB / 17.34 MB, free: 5.703 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 297.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 99.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4431, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002641/0.4457, allocations: 1.569 MB / 0.7686 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4472, allocations: 0.9102 MB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.4473, allocations: 3.938 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.4473, allocations: 3.938 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.4475, allocations: 27.78 kB / 0.7695 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.4478, allocations: 135.6 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.448, allocations: 79.7 kB / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.4481, allocations: 11.98 kB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.4482, allocations: 27.86 kB / 0.7698 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.4483, allocations: 43.78 kB / 0.7698 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.4483, allocations: 8 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.4487, allocations: 287.6 kB / 0.7701 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.4487, allocations: 11.94 kB / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.4488, allocations: 27.86 kB / 0.7701 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.449, allocations: 153.1 kB / 0.7703 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.449, allocations: 7.922 kB / 0.7703 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.449, allocations: 4 kB / 0.7703 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.449, allocations: 0 / 0.7703 GB, free: 0.6406 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005971/0.4496, allocations: 414.8 kB / 0.7707 GB, free: 192 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.4496, allocations: 8.031 kB / 0.7707 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.4498, allocations: 8.891 kB / 0.7707 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.45, allocations: 187 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.45, allocations: 4.375 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.45, allocations: 4.375 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.4502, allocations: 73.91 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4502, allocations: 3.984 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4502, allocations: 4 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4502, allocations: 3.984 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4504, allocations: 39.97 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.4508, allocations: 296.7 kB / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.451, allocations: 62.55 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.4511, allocations: 28.91 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4511, allocations: 0 / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4511, allocations: 34.56 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.4511, allocations: 0 / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003684/0.4515, allocations: 113.6 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4515, allocations: 51.41 kB / 0.7716 GB, free: 15.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4516, allocations: 125.8 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4517, allocations: 25.7 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.4517, allocations: 96.14 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.4518, allocations: 15.89 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.4518, allocations: 17.72 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4519, allocations: 322.8 kB / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.452, allocations: 27.92 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.4521, allocations: 23.98 kB / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4522, allocations: 52.83 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4522, allocations: 4 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002199/0.4525, allocations: 93.55 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4525, allocations: 4 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4525, allocations: 4 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4525, allocations: 0 / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4526, allocations: 19.92 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4526, allocations: 0 / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.4527, allocations: 11.89 kB / 0.7724 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.4527, allocations: 0 / 0.7724 GB, free: 14.28 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 9.493e-05/0.4528, allocations: 120.2 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.4528, allocations: 15.88 kB / 0.7725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.4531, allocations: 98.41 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4531, allocations: 4 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4531, allocations: 0 / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4531, allocations: 0 / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.4533, allocations: 193.7 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4533, allocations: 0 / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.4534, allocations: 19.92 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4534, allocations: 0 / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4534, allocations: 0 / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4534, allocations: 4 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4534, allocations: 4 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.4537, allocations: 187.4 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.4537, allocations: 81.06 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4538, allocations: 4 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.4538, allocations: 0 / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.4539, allocations: 15.98 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.4539, allocations: 0 / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.454, allocations: 102.2 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.454, allocations: 0 / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000249/0.4542, allocations: 23.94 kB / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001725/0.4544, allocations: 115.2 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.4546, allocations: 55.91 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4546, allocations: 4 kB / 0.7734 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.4547, allocations: 31.91 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.4549, allocations: 12 kB / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.4554, allocations: 199.9 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4557, allocations: 0.6924 MB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.712e-05/0.4557, allocations: 15.72 kB / 0.7743 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.4557, allocations: 7.438 kB / 0.7743 GB, free: 12.14 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.4557, allocations: 0 / 0.7743 GB, free: 12.14 MB / 0.545 GB Notification: Performance of Templates: time 0.003868/0.4596, allocations: 1.125 MB / 0.7754 GB, free: 11.03 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)