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.001197/0.001197, allocations: 112 kB / 16.41 MB, free: 6.484 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.001094/0.001094, allocations: 183 kB / 17.34 MB, free: 5.762 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 281.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 91.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4484, allocations: 86.99 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1824/0.6308, allocations: 171 MB / 0.9341 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0076/0.6385, allocations: 4.298 MB / 0.9383 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6396, allocations: 27.88 kB / 0.9383 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.641, allocations: 346 kB / 0.9386 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.6449, allocations: 1.225 MB / 0.9398 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.6474, allocations: 0.7974 MB / 0.9406 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.6501, allocations: 1.695 MB / 0.9423 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.6513, allocations: 0.5543 MB / 0.9428 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.6529, allocations: 0.699 MB / 0.9435 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.6546, allocations: 0.5479 MB / 0.944 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.6549, allocations: 72 kB / 0.9441 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.6568, allocations: 0.7951 MB / 0.9449 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.6572, allocations: 267.3 kB / 0.9451 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007582/0.658, allocations: 406.2 kB / 0.9455 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.6603, allocations: 1.27 MB / 0.9467 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6603, allocations: 0 / 0.9467 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6603, allocations: 0 / 0.9467 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.384e-05/0.6603, allocations: 0 / 0.9467 GB, free: 11.21 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.002377/0.6627, allocations: 1.036 MB / 0.9478 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6628, allocations: 12.03 kB / 0.9478 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.664, allocations: 163 kB / 0.9479 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.665, allocations: 0.5482 MB / 0.9485 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.665, allocations: 37.31 kB / 0.9485 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.6651, allocations: 55.98 kB / 0.9485 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.6663, allocations: 0.6519 MB / 0.9492 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6663, allocations: 3.938 kB / 0.9492 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.6664, allocations: 20 kB / 0.9492 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.6664, allocations: 21.31 kB / 0.9492 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.6674, allocations: 0.5126 MB / 0.9497 GB, free: 8.051 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.003591/0.671, allocations: 2.297 MB / 0.952 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.6715, allocations: 250.8 kB / 0.9522 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.6718, allocations: 136.8 kB / 0.9523 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.6719, allocations: 7.938 kB / 0.9523 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6719, allocations: 42.55 kB / 0.9524 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.6719, allocations: 0 / 0.9524 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001665/0.6736, allocations: 0.6669 MB / 0.953 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.6737, allocations: 81.11 kB / 0.9531 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.6743, allocations: 0.5574 MB / 0.9537 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.6744, allocations: 37.64 kB / 0.9537 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.6746, allocations: 339.1 kB / 0.954 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.6747, allocations: 70.94 kB / 0.9541 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.6748, allocations: 69.94 kB / 0.9542 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6749, allocations: 362.7 kB / 0.9545 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.6752, allocations: 140.4 kB / 0.9546 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.6755, allocations: 210.7 kB / 0.9548 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.6761, allocations: 325.7 kB / 0.9551 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6761, allocations: 3.984 kB / 0.9551 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009173/0.677, allocations: 0.4906 MB / 0.9556 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.677, allocations: 10.81 kB / 0.9556 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.677, allocations: 288 / 0.9556 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.6774, allocations: 101.6 kB / 0.9557 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.6777, allocations: 71.91 kB / 0.9558 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4189/1.097, allocations: 3.327 MB / 0.9591 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/1.097, allocations: 54.56 kB / 0.9591 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/1.097, allocations: 12.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.0004882/1.098, allocations: 223.2 kB / 0.9593 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/1.098, allocations: 52.66 kB / 0.9594 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/1.098, allocations: 53.41 kB / 0.9594 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.098, allocations: 2.734 kB / 0.9594 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.098, allocations: 4.438 kB / 0.9594 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000967/1.099, allocations: 0.53 MB / 0.96 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/1.101, allocations: 0.9168 MB / 0.9608 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.101, allocations: 1 kB / 0.9608 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.101, allocations: 41.94 kB / 0.9609 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/1.102, allocations: 66.77 kB / 0.961 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.102, allocations: 2.609 kB / 0.961 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/1.104, allocations: 1.825 MB / 0.9627 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.104, allocations: 7.812 kB / 0.9627 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/1.104, allocations: 439 kB / 0.9632 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/1.105, allocations: 173.7 kB / 0.9633 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/1.105, allocations: 2.203 kB / 0.9633 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/1.105, allocations: 20.7 kB / 0.9634 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/1.105, allocations: 22.73 kB / 0.9634 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/1.105, allocations: 15.95 kB / 0.9634 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005607/1.106, allocations: 403.9 kB / 0.9638 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.106, allocations: 0 / 0.9638 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007447/1.107, allocations: 201.1 kB / 0.964 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.0004222/1.107, allocations: 172.9 kB / 0.9641 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008952/1.108, allocations: 0.5299 MB / 0.9646 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.108, allocations: 1.438 kB / 0.9646 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/1.108, allocations: 249.6 kB / 0.9649 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.001629/1.11, allocations: 361.8 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.001536/1.112, allocations: 1.038 MB / 0.9662 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/1.112, allocations: 0.9093 MB / 0.9671 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.112, allocations: 41.95 kB / 0.9672 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/1.112, allocations: 0 / 0.9672 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01788/1.13, allocations: 13.48 MB / 0.9803 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)