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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7605/0.7605, allocations: 143.4 MB / 159.2 MB, free: 4.953 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 176.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 107.7 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 297.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 79.88 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6012/0.9866, allocations: 168.8 MB / 0.9327 GB, free: 320 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0063/0.9929, allocations: 4.342 MB / 0.937 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.9939, allocations: 18.47 kB / 0.937 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.995, allocations: 311.9 kB / 0.9373 GB, free: 180 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.9979, allocations: 1.14 MB / 0.9384 GB, free: 120 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.9998, allocations: 0.7142 MB / 0.9391 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003077/1.003, allocations: 2.358 MB / 0.9414 GB, free: 80 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/1.004, allocations: 484.5 kB / 0.9419 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/1.005, allocations: 0.5968 MB / 0.9425 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/1.006, allocations: 0.5775 MB / 0.943 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.723e-05/1.006, allocations: 30.62 kB / 0.9431 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/1.008, allocations: 0.9115 MB / 0.9439 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/1.008, allocations: 242.1 kB / 0.9442 GB, free: 4 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004495/1.009, allocations: 371.3 kB / 0.9445 GB, free: 0 / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/1.01, allocations: 1.287 MB / 0.9458 GB, free: 15.93 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.01, allocations: 0 / 0.9458 GB, free: 15.93 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.212e-06/1.01, allocations: 1.203 kB / 0.9458 GB, free: 15.93 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.01, allocations: 1.938 kB / 0.9458 GB, free: 15.93 MB / 0.573 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.001703/1.012, allocations: 1.029 MB / 0.9468 GB, free: 15.33 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.012, allocations: 8.125 kB / 0.9468 GB, free: 15.33 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/1.013, allocations: 168.4 kB / 0.947 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007556/1.014, allocations: 0.5113 MB / 0.9475 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/1.014, allocations: 42.22 kB / 0.9475 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/1.014, allocations: 50.09 kB / 0.9476 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/1.015, allocations: 0.648 MB / 0.9482 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.015, allocations: 0 / 0.9482 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/1.015, allocations: 27.5 kB / 0.9482 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/1.015, allocations: 27.44 kB / 0.9482 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/1.016, allocations: 0.5116 MB / 0.9487 GB, free: 14.94 MB / 0.573 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.002966/1.019, allocations: 2.306 MB / 0.951 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/1.019, allocations: 250 kB / 0.9512 GB, free: 13.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/1.02, allocations: 138.3 kB / 0.9514 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/1.02, allocations: 10.03 kB / 0.9514 GB, free: 13.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.02, allocations: 43.7 kB / 0.9514 GB, free: 13.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=20): time 2.465e-06/1.02, allocations: 1.906 kB / 0.9514 GB, free: 13.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=20): time 0.001827/1.022, allocations: 0.6649 MB / 0.9521 GB, free: 13.53 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/1.022, allocations: 85.95 kB / 0.9521 GB, free: 13.43 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/1.022, allocations: 0.554 MB / 0.9527 GB, free: 13.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/1.022, allocations: 30.86 kB / 0.9527 GB, free: 13.27 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/1.023, allocations: 333 kB / 0.953 GB, free: 13.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/1.023, allocations: 69.92 kB / 0.9531 GB, free: 13.06 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.023, allocations: 71.98 kB / 0.9532 GB, free: 13.04 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.023, allocations: 367.9 kB / 0.9535 GB, free: 12.72 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/1.023, allocations: 130.7 kB / 0.9536 GB, free: 12.72 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/1.024, allocations: 222.4 kB / 0.9539 GB, free: 12.62 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/1.024, allocations: 336.3 kB / 0.9542 GB, free: 12.53 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.024, allocations: 2.25 kB / 0.9542 GB, free: 12.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008398/1.025, allocations: 495.6 kB / 0.9546 GB, free: 12.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.025, allocations: 6.844 kB / 0.9547 GB, free: 12.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.025, allocations: 8.578 kB / 0.9547 GB, free: 12.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/1.025, allocations: 97.62 kB / 0.9548 GB, free: 12.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/1.026, allocations: 74.3 kB / 0.9548 GB, free: 12.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/1.028, allocations: 3.104 MB / 0.9579 GB, free: 9.887 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/1.029, allocations: 69.23 kB / 0.9579 GB, free: 9.855 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/1.029, allocations: 11.34 kB / 0.9579 GB, free: 9.852 MB / 0.573 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.0002824/1.029, allocations: 222 kB / 0.9581 GB, free: 9.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/1.029, allocations: 56.06 kB / 0.9582 GB, free: 9.707 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.753e-05/1.029, allocations: 53.12 kB / 0.9583 GB, free: 9.695 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.03, allocations: 2.438 kB / 0.9583 GB, free: 9.695 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/1.03, allocations: 2.406 kB / 0.9583 GB, free: 9.695 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006769/1.03, allocations: 0.5301 MB / 0.9588 GB, free: 9.344 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/1.031, allocations: 0.9235 MB / 0.9597 GB, free: 9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.031, allocations: 0 / 0.9597 GB, free: 9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/1.032, allocations: 42.02 kB / 0.9597 GB, free: 9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/1.032, allocations: 71.39 kB / 0.9598 GB, free: 8.988 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/1.032, allocations: 7.125 kB / 0.9598 GB, free: 8.984 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/1.033, allocations: 1.684 MB / 0.9614 GB, free: 7.711 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.033, allocations: 2.312 kB / 0.9614 GB, free: 7.711 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.034, allocations: 1.194 MB / 0.9626 GB, free: 6.926 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/1.035, allocations: 165.8 kB / 0.9628 GB, free: 6.805 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/1.035, allocations: 6.5 kB / 0.9628 GB, free: 6.805 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/1.035, allocations: 37.55 kB / 0.9628 GB, free: 6.797 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/1.035, allocations: 29.48 kB / 0.9628 GB, free: 6.789 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/1.035, allocations: 16.14 kB / 0.9628 GB, free: 6.789 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004162/1.036, allocations: 394.6 kB / 0.9632 GB, free: 6.703 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.036, allocations: 0 / 0.9632 GB, free: 6.703 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007466/1.037, allocations: 206.3 kB / 0.9634 GB, free: 6.684 MB / 0.573 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.0004368/1.037, allocations: 164.2 kB / 0.9636 GB, free: 6.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008631/1.038, allocations: 0.5229 MB / 0.9641 GB, free: 6.359 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.038, allocations: 2.625 kB / 0.9641 GB, free: 6.359 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/1.038, allocations: 261.6 kB / 0.9643 GB, free: 6.234 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.04, allocations: 349.2 kB / 0.9647 GB, free: 6.211 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/1.042, allocations: 1.375 MB / 0.966 GB, free: 5.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/1.042, allocations: 0.9163 MB / 0.9669 GB, free: 4.727 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004546/1.043, allocations: 115.2 kB / 0.967 GB, free: 4.688 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/1.043, allocations: 38.44 kB / 0.9671 GB, free: 4.68 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/1.043, allocations: 0 / 0.9671 GB, free: 4.68 MB / 0.573 GB Notification: Performance of Templates: time 0.02163/1.065, allocations: 12.73 MB / 0.9795 GB, free: 14.78 MB / 0.5886 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)