Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001868/0.001868, allocations: 198.1 kB / 16.14 MB, free: 6.695 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 60.95 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2953, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1736/0.4689, allocations: 157.9 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005365/0.4743, allocations: 3.835 MB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.4748, allocations: 7.938 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.4755, allocations: 159.1 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.4778, allocations: 0.7898 MB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.4789, allocations: 388.3 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.4807, allocations: 1.393 MB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.4811, allocations: 252.9 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.4817, allocations: 358.4 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.4827, allocations: 337.6 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.4828, allocations: 16 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.4844, allocations: 0.8493 MB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.4846, allocations: 151.6 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.4849, allocations: 199 kB / 1.23 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.4861, allocations: 0.7827 MB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4861, allocations: 0 / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4861, allocations: 4 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.4861, allocations: 0 / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001315/0.4874, allocations: 0.7376 MB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4875, allocations: 12.03 kB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.4886, allocations: 147.4 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.4892, allocations: 378.5 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.4893, allocations: 24.66 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.4894, allocations: 35.91 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.4901, allocations: 329.9 kB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.4901, allocations: 0 / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.4902, allocations: 12 kB / 1.233 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4902, allocations: 4 kB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4908, allocations: 310.4 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.4928, allocations: 1.212 MB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.4933, allocations: 291.3 kB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.4936, allocations: 181.3 kB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.4939, allocations: 190.5 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.4939, allocations: 42.78 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.494, allocations: 0 / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002214/0.4962, allocations: 1.029 MB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4962, allocations: 55.41 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.4966, allocations: 316.5 kB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.4966, allocations: 37.7 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4968, allocations: 168.8 kB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4969, allocations: 126.1 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.497, allocations: 57.7 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4972, allocations: 350.8 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4974, allocations: 123.7 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.4977, allocations: 158.2 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.4995, allocations: 0.761 MB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4995, allocations: 0 / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005929/0.5001, allocations: 356.8 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5001, allocations: 12.03 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5001, allocations: 0 / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.5002, allocations: 7.922 kB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.5005, allocations: 63.91 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.5005, allocations: 4 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.5009, allocations: 23.98 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.5009, allocations: 8 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.000187/0.5011, allocations: 181.8 kB / 1.238 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.5012, allocations: 35.53 kB / 1.238 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.89e-05/0.5013, allocations: 52.06 kB / 1.239 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5013, allocations: 11.92 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5014, allocations: 0 / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005785/0.5019, allocations: 404.4 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.5036, allocations: 1.063 MB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.5036, allocations: 7.938 kB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.504, allocations: 83.83 kB / 1.24 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.504, allocations: 4.516 kB / 1.24 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.5041, allocations: 23.98 kB / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.5041, allocations: 11.92 kB / 1.24 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5041, allocations: 7.938 kB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.5051, allocations: 0.6756 MB / 1.241 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.5052, allocations: 148.6 kB / 1.241 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.5053, allocations: 15.92 kB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.5057, allocations: 19.94 kB / 1.241 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.5058, allocations: 39.95 kB / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.5058, allocations: 19.94 kB / 1.241 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002265/0.506, allocations: 227 kB / 1.241 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.506, allocations: 0 / 1.241 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004738/0.5065, allocations: 112 kB / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.0004125/0.5069, allocations: 167.9 kB / 1.241 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005751/0.5075, allocations: 296.2 kB / 1.242 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5075, allocations: 0 / 1.242 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.5078, allocations: 164.4 kB / 1.242 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.509, allocations: 225.4 kB / 1.242 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.5106, allocations: 1.083 MB / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.511, allocations: 0.8273 MB / 1.244 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003628/0.5114, allocations: 103.2 kB / 1.244 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5115, allocations: 35.44 kB / 1.244 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5115, allocations: 0 / 1.244 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of Templates: time 0.5507/1.062, allocations: 7.031 MB / 1.251 GB, free: 184.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1)