Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008729/0.000873, allocations: 97.72 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.005718/0.005718, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005037, allocations: 10.28 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4054, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002088/0.4075, allocations: 1.329 MB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.4092, allocations: 0.931 MB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.4093, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.4093, allocations: 7.938 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.4096, allocations: 19.84 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.4099, allocations: 103.8 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.4101, allocations: 67.72 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4102, allocations: 15.98 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.4103, allocations: 27.86 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4104, allocations: 35.78 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.4105, allocations: 4 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.4109, allocations: 283.6 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.4109, allocations: 15.92 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.411, allocations: 53.5 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.4112, allocations: 147.9 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4112, allocations: 0 / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4112, allocations: 0 / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4112, allocations: 0 / 1.077 GB, free: 4.453 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.0005847/0.4118, allocations: 399.3 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4119, allocations: 8.031 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.412, allocations: 12.84 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4122, allocations: 192.1 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4123, allocations: 4.312 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.4123, allocations: 4.375 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.4125, allocations: 69.97 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4125, allocations: 4 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4125, allocations: 4 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4125, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.4127, allocations: 47.97 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.4132, allocations: 296.8 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.4134, allocations: 66.48 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.4135, allocations: 28.97 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4135, allocations: 4 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4135, allocations: 34.5 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.4136, allocations: 4 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.000411/0.414, allocations: 121.5 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.414, allocations: 55.41 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4141, allocations: 127.9 kB / 1.079 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.4142, allocations: 25.7 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.4142, allocations: 100.1 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.4143, allocations: 15.66 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.4143, allocations: 21.7 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4144, allocations: 314.8 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.4145, allocations: 31.98 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.4146, allocations: 27.98 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.4148, allocations: 60.83 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4148, allocations: 0 / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002309/0.415, allocations: 101.5 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.415, allocations: 4 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.415, allocations: 0 / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4151, allocations: 4 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.4152, allocations: 27.92 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4152, allocations: 0 / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.4153, allocations: 4 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4153, allocations: 12.41 kB / 1.079 GB, free: 2.043 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.683e-05/0.4154, allocations: 113.8 kB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4154, allocations: 7.906 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.4157, allocations: 117.9 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4157, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4157, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4157, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4159, allocations: 189.6 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.416, allocations: 0 / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.4161, allocations: 15.98 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4161, allocations: 4 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4162, allocations: 4 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4162, allocations: 0 / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4162, allocations: 0 / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.4165, allocations: 203.4 kB / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.4165, allocations: 88.89 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.4166, allocations: 0 / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.4167, allocations: 11.98 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4167, allocations: 0 / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-06/0.4167, allocations: 4 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.641e-05/0.4168, allocations: 104.7 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4168, allocations: 0 / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002522/0.4171, allocations: 20 kB / 1.08 GB, free: 1.074 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.0002047/0.4173, allocations: 115.2 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.4175, allocations: 63.89 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4175, allocations: 0 / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.416e-05/0.4176, allocations: 43.92 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.418, allocations: 8 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.4184, allocations: 222.5 kB / 1.081 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4188, allocations: 0.6926 MB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.4188, allocations: 4 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.4189, allocations: 11.42 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of SimCode: time 3.907e-06/0.4189, allocations: 0 / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.004134/0.423, allocations: 1.021 MB / 1.082 GB, free: 14.85 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)