Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001744/0.001744, allocations: 198.2 kB / 16.14 MB, free: 6.66 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 75.3 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3728, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002923/0.3757, allocations: 1.671 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3772, allocations: 0.9427 MB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.3773, allocations: 7.938 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.3773, allocations: 0 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.3775, allocations: 23.78 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3778, allocations: 99.27 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3779, allocations: 75.66 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3781, allocations: 15.98 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3782, allocations: 31.91 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3783, allocations: 31.84 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3783, allocations: 4 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.3787, allocations: 279.7 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.3787, allocations: 19.84 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3788, allocations: 31.8 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.379, allocations: 143.9 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.379, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.12e-07/0.379, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.379, allocations: 0 / 1.071 GB, free: 7.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005648/0.3796, allocations: 411.2 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3797, allocations: 12.03 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3798, allocations: 8.844 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.38, allocations: 185.8 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.38, allocations: 8.375 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.38, allocations: 4.375 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3802, allocations: 65.97 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3802, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3802, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3802, allocations: 4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3804, allocations: 43.91 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.3808, allocations: 304.7 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.381, allocations: 58.53 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.3811, allocations: 28.91 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3811, allocations: 8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3811, allocations: 38.5 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3811, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003688/0.3815, allocations: 101.6 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.3815, allocations: 51.41 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3817, allocations: 131.2 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3817, allocations: 29.7 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.3817, allocations: 96.12 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3818, allocations: 19.75 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.3818, allocations: 17.7 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3819, allocations: 322.8 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.382, allocations: 27.97 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.3821, allocations: 20.23 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3822, allocations: 64.89 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3822, allocations: 3.938 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002009/0.3825, allocations: 85.58 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3825, allocations: 4 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3825, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3825, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3826, allocations: 19.98 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3826, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.3827, allocations: 11.98 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3827, allocations: 0 / 1.073 GB, free: 5.121 MB / 0.8262 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 8.335e-05/0.3828, allocations: 121.7 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3829, allocations: 7.906 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.3831, allocations: 93.95 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3831, allocations: 4 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3831, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3831, allocations: 4 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3833, allocations: 185.5 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3833, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.3834, allocations: 15.98 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3834, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3834, allocations: 4 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.3834, allocations: 7.938 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3834, allocations: 3.938 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.3837, allocations: 191.5 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3837, allocations: 85.11 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3838, allocations: 0 / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.3839, allocations: 7.984 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.3839, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3839, allocations: 7.984 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.384, allocations: 105 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.384, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002419/0.3842, allocations: 20 kB / 1.074 GB, free: 4.172 MB / 0.8262 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.000217/0.3845, allocations: 123.3 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3847, allocations: 59.84 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3847, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.3848, allocations: 27.98 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3852, allocations: 11.98 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.3856, allocations: 210 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3858, allocations: 0.6926 MB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.3859, allocations: 7.938 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.3859, allocations: 15.42 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of SimCode: time 1.463e-06/0.3859, allocations: 0 / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.003491/0.3894, allocations: 1.011 MB / 1.076 GB, free: 1.965 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)