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.001065/0.001065, allocations: 110.7 kB / 16.38 MB, free: 6.473 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.001049/0.001049, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 274 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9475/0.9475, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 99.84 kB / 0.682 GB, free: 7.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4244, allocations: 86.96 MB / 0.767 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2121/0.6366, allocations: 171.1 MB / 0.934 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006912/0.6435, allocations: 4.301 MB / 0.9382 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000751/0.6443, allocations: 23.88 kB / 0.9382 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.6454, allocations: 350 kB / 0.9386 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.6484, allocations: 1.225 MB / 0.9398 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.6505, allocations: 0.7894 MB / 0.9405 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.6528, allocations: 1.695 MB / 0.9422 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008563/0.6537, allocations: 0.5581 MB / 0.9427 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.6551, allocations: 0.6874 MB / 0.9434 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.6564, allocations: 0.5487 MB / 0.944 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.6565, allocations: 64 kB / 0.944 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.6581, allocations: 0.8029 MB / 0.9448 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.6585, allocations: 271.3 kB / 0.9451 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.659, allocations: 406.3 kB / 0.9454 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.6608, allocations: 1.262 MB / 0.9467 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6608, allocations: 0 / 0.9467 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6608, allocations: 0 / 0.9467 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.6608, allocations: 7.984 kB / 0.9467 GB, free: 11.13 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.001821/0.6626, allocations: 1.033 MB / 0.9477 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6627, allocations: 12.03 kB / 0.9477 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.6637, allocations: 159 kB / 0.9479 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.6646, allocations: 0.5405 MB / 0.9484 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.6646, allocations: 41.25 kB / 0.9484 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.6647, allocations: 55.94 kB / 0.9485 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.6659, allocations: 0.6557 MB / 0.9491 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6659, allocations: 0 / 0.9491 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.666, allocations: 20 kB / 0.9491 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.666, allocations: 25.31 kB / 0.9492 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.667, allocations: 0.5164 MB / 0.9497 GB, free: 7.977 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.003337/0.6703, allocations: 2.293 MB / 0.9519 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.6709, allocations: 254.8 kB / 0.9521 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.6711, allocations: 135 kB / 0.9523 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.6712, allocations: 11.92 kB / 0.9523 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.6712, allocations: 46.55 kB / 0.9523 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.6712, allocations: 0 / 0.9523 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001746/0.673, allocations: 0.6669 MB / 0.953 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.6731, allocations: 85.11 kB / 0.9531 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.6737, allocations: 0.5535 MB / 0.9536 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.6738, allocations: 29.7 kB / 0.9536 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.674, allocations: 335.1 kB / 0.954 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.6741, allocations: 70.94 kB / 0.954 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.6742, allocations: 69.94 kB / 0.9541 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6744, allocations: 362.7 kB / 0.9544 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.6747, allocations: 136.6 kB / 0.9546 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.675, allocations: 206.7 kB / 0.9548 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.6756, allocations: 337.6 kB / 0.9551 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6756, allocations: 3.938 kB / 0.9551 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009524/0.6765, allocations: 498.7 kB / 0.9556 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6766, allocations: 8 kB / 0.9556 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6766, allocations: 0 / 0.9556 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.677, allocations: 105.5 kB / 0.9557 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.6773, allocations: 67.91 kB / 0.9557 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3321/1.009, allocations: 3.343 MB / 0.959 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/1.01, allocations: 50.61 kB / 0.959 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/1.01, allocations: 16.66 kB / 0.9591 GB, free: 188.6 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.000301/1.01, allocations: 220.4 kB / 0.9593 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.011, allocations: 52.81 kB / 0.9593 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/1.011, allocations: 57.39 kB / 0.9594 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.011, allocations: 4.234 kB / 0.9594 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/1.011, allocations: 0 / 0.9594 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007065/1.011, allocations: 0.5329 MB / 0.9599 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/1.013, allocations: 0.9153 MB / 0.9608 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.013, allocations: 4.375 kB / 0.9608 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/1.013, allocations: 42.3 kB / 0.9608 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/1.013, allocations: 67.02 kB / 0.9609 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.013, allocations: 1.875 kB / 0.9609 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/1.015, allocations: 1.821 MB / 0.9627 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.015, allocations: 7.875 kB / 0.9627 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/1.015, allocations: 438.3 kB / 0.9631 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/1.016, allocations: 168 kB / 0.9633 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/1.016, allocations: 11.94 kB / 0.9633 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/1.016, allocations: 19.28 kB / 0.9633 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/1.016, allocations: 18.17 kB / 0.9633 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/1.016, allocations: 16.58 kB / 0.9633 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004344/1.017, allocations: 401.3 kB / 0.9637 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/1.017, allocations: 0 / 0.9637 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000652/1.017, allocations: 202.2 kB / 0.9639 GB, free: 185.3 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.0003355/1.018, allocations: 165.7 kB / 0.9641 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008246/1.019, allocations: 0.5317 MB / 0.9646 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.019, allocations: 1.281 kB / 0.9646 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/1.019, allocations: 251.5 kB / 0.9648 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.021, allocations: 372.2 kB / 0.9652 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/1.022, allocations: 1.022 MB / 0.9662 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/1.022, allocations: 0.9077 MB / 0.9671 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.022, allocations: 46.45 kB / 0.9671 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/1.022, allocations: 0 / 0.9671 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01331/1.036, allocations: 13.42 MB / 0.9802 GB, free: 174.3 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)