Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00529/0.00529, allocations: 102.7 kB / 15.73 MB, free: 5.984 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.001186/0.001186, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 300.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9507/0.9507, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 99.84 kB / 0.6814 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4334, allocations: 86.99 MB / 0.7664 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1822/0.6157, allocations: 171 MB / 0.9334 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006939/0.6227, allocations: 4.293 MB / 0.9376 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008446/0.6236, allocations: 23.88 kB / 0.9376 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.6247, allocations: 365.8 kB / 0.938 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.628, allocations: 1.213 MB / 0.9392 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.6301, allocations: 0.8051 MB / 0.9399 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.6322, allocations: 1.691 MB / 0.9416 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007676/0.633, allocations: 0.562 MB / 0.9421 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.6343, allocations: 0.6952 MB / 0.9428 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.6354, allocations: 0.5559 MB / 0.9434 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.6355, allocations: 68 kB / 0.9434 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.6372, allocations: 0.7951 MB / 0.9442 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.6375, allocations: 263.3 kB / 0.9445 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.6379, allocations: 402.3 kB / 0.9448 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.6395, allocations: 1.274 MB / 0.9461 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.6395, allocations: 0 / 0.9461 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6396, allocations: 4 kB / 0.9461 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.6396, allocations: 0 / 0.9461 GB, free: 11.37 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001716/0.6413, allocations: 1.025 MB / 0.9471 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6413, allocations: 12.03 kB / 0.9471 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009806/0.6423, allocations: 159 kB / 0.9473 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.6431, allocations: 0.5483 MB / 0.9478 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.6432, allocations: 45.31 kB / 0.9478 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.6433, allocations: 52 kB / 0.9479 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.6444, allocations: 0.6518 MB / 0.9485 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.6444, allocations: 0 / 0.9485 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.6445, allocations: 20 kB / 0.9485 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.6445, allocations: 25.31 kB / 0.9486 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.6454, allocations: 0.5204 MB / 0.9491 GB, free: 8.211 MB / 0.7169 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.003216/0.6487, allocations: 2.293 MB / 0.9513 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.6492, allocations: 258.8 kB / 0.9516 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.6494, allocations: 132.8 kB / 0.9517 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.6495, allocations: 15.92 kB / 0.9517 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.6495, allocations: 38.56 kB / 0.9517 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 3.517e-06/0.6495, allocations: 3.984 kB / 0.9517 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001628/0.6512, allocations: 0.6712 MB / 0.9524 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.6513, allocations: 81.11 kB / 0.9525 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.6519, allocations: 0.5612 MB / 0.953 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.652, allocations: 25.7 kB / 0.953 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.6522, allocations: 335.1 kB / 0.9534 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-05/0.6523, allocations: 78.92 kB / 0.9534 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.6524, allocations: 65.94 kB / 0.9535 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6526, allocations: 370.7 kB / 0.9539 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.6529, allocations: 132.6 kB / 0.954 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.6532, allocations: 210.7 kB / 0.9542 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/0.6537, allocations: 329.7 kB / 0.9545 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6537, allocations: 0 / 0.9545 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009055/0.6546, allocations: 498.6 kB / 0.955 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6547, allocations: 8 kB / 0.955 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6547, allocations: 0 / 0.955 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.655, allocations: 101.6 kB / 0.9551 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.6553, allocations: 67.91 kB / 0.9551 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3915/1.047, allocations: 3.331 MB / 0.9584 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/1.047, allocations: 54.72 kB / 0.9584 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/1.048, allocations: 13.12 kB / 0.9585 GB, free: 189 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004041/1.048, allocations: 218.2 kB / 0.9587 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/1.048, allocations: 54.41 kB / 0.9587 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/1.048, allocations: 57.94 kB / 0.9588 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.048, allocations: 2.094 kB / 0.9588 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.048, allocations: 7.172 kB / 0.9588 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007475/1.049, allocations: 0.5313 MB / 0.9593 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/1.051, allocations: 0.9104 MB / 0.9602 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/1.051, allocations: 5.094 kB / 0.9602 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/1.051, allocations: 47.45 kB / 0.9602 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/1.051, allocations: 62.84 kB / 0.9603 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/1.051, allocations: 6.391 kB / 0.9603 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/1.053, allocations: 1.819 MB / 0.9621 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.053, allocations: 7.5 kB / 0.9621 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/1.054, allocations: 440.9 kB / 0.9625 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/1.054, allocations: 171.6 kB / 0.9627 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/1.054, allocations: 6.75 kB / 0.9627 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/1.055, allocations: 19.92 kB / 0.9627 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.055, allocations: 18.94 kB / 0.9627 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/1.055, allocations: 16.59 kB / 0.9627 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008939/1.056, allocations: 405.3 kB / 0.9631 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.91e-07/1.056, allocations: 0 / 0.9631 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001102/1.057, allocations: 204.7 kB / 0.9633 GB, free: 185.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005646/1.058, allocations: 155.5 kB / 0.9635 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.059, allocations: 0.5242 MB / 0.964 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.059, allocations: 5.719 kB / 0.964 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/1.059, allocations: 258.2 kB / 0.9642 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.062, allocations: 371.5 kB / 0.9646 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/1.063, allocations: 0.9802 MB / 0.9655 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/1.064, allocations: 0.9077 MB / 0.9664 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004963/1.065, allocations: 106.6 kB / 0.9665 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/1.065, allocations: 43.11 kB / 0.9666 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/1.065, allocations: 0 / 0.9666 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.01985/1.084, allocations: 13.34 MB / 0.9796 GB, free: 174.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)