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.0009086/0.0009083, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007724/0.007725, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 274.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9441/0.9441, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006825, allocations: 15.19 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2212, allocations: 88.54 MB / 0.6851 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5228/0.7441, allocations: 166.6 MB / 0.8478 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006433/0.7505, allocations: 4.298 MB / 0.852 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006679/0.7512, allocations: 19.22 kB / 0.852 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009349/0.7522, allocations: 309 kB / 0.8523 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.7549, allocations: 1.159 MB / 0.8534 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.7566, allocations: 0.7211 MB / 0.8541 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.759, allocations: 2.357 MB / 0.8565 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.7596, allocations: 475.3 kB / 0.8569 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.7605, allocations: 0.5728 MB / 0.8575 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.7616, allocations: 0.5555 MB / 0.858 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.393e-05/0.7617, allocations: 27.28 kB / 0.858 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.7632, allocations: 0.9084 MB / 0.8589 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.7634, allocations: 232.5 kB / 0.8591 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.7638, allocations: 382.1 kB / 0.8595 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.7651, allocations: 1.263 MB / 0.8607 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7651, allocations: 0 / 0.8607 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7651, allocations: 2.719 kB / 0.8607 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.7651, allocations: 0 / 0.8607 GB, free: 7.453 MB / 0.5762 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.001551/0.7667, allocations: 0.9006 MB / 0.8616 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.7667, allocations: 8.812 kB / 0.8616 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009621/0.7677, allocations: 158.1 kB / 0.8618 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.7684, allocations: 0.5234 MB / 0.8623 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.7685, allocations: 47.17 kB / 0.8623 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.7685, allocations: 51.84 kB / 0.8624 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.7696, allocations: 0.6559 MB / 0.863 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7696, allocations: 0 / 0.863 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.7697, allocations: 23.41 kB / 0.863 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.7697, allocations: 31.44 kB / 0.8631 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.7706, allocations: 0.514 MB / 0.8636 GB, free: 5.516 MB / 0.5762 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.003143/0.7738, allocations: 2.306 MB / 0.8658 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.7743, allocations: 273.9 kB / 0.8661 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.7745, allocations: 137 kB / 0.8662 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.7746, allocations: 9.062 kB / 0.8662 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.7746, allocations: 37.47 kB / 0.8663 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.7746, allocations: 0 / 0.8663 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001625/0.7762, allocations: 0.6912 MB / 0.8669 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.7763, allocations: 77.11 kB / 0.867 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.7769, allocations: 0.5639 MB / 0.8676 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.777, allocations: 28.64 kB / 0.8676 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.7772, allocations: 338.5 kB / 0.8679 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.7773, allocations: 65.97 kB / 0.868 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.7774, allocations: 33.61 kB / 0.868 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7775, allocations: 364.5 kB / 0.8684 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.7778, allocations: 140.8 kB / 0.8685 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.7781, allocations: 222.9 kB / 0.8687 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.7787, allocations: 344.7 kB / 0.869 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7787, allocations: 0 / 0.869 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000878/0.7796, allocations: 0.5068 MB / 0.8695 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.7796, allocations: 9.469 kB / 0.8695 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7796, allocations: 2.969 kB / 0.8695 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.7799, allocations: 93.77 kB / 0.8696 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.7803, allocations: 69.66 kB / 0.8697 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.7831, allocations: 3.113 MB / 0.8727 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.7836, allocations: 61.11 kB / 0.8728 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.7837, allocations: 18.61 kB / 0.8728 GB, free: 13.84 MB / 0.5919 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.0003021/0.784, allocations: 222.5 kB / 0.873 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.7841, allocations: 50.28 kB / 0.8731 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.7842, allocations: 57.22 kB / 0.8731 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.7842, allocations: 2.938 kB / 0.8731 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7842, allocations: 0 / 0.8731 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000697/0.7849, allocations: 0.5425 MB / 0.8737 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.7862, allocations: 0.9341 MB / 0.8746 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7862, allocations: 0 / 0.8746 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.7864, allocations: 41.55 kB / 0.8746 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.7866, allocations: 65.55 kB / 0.8747 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.7867, allocations: 10.41 kB / 0.8747 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.7882, allocations: 1.69 MB / 0.8763 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7883, allocations: 4.062 kB / 0.8763 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.7889, allocations: 454.9 kB / 0.8768 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.7892, allocations: 170.1 kB / 0.8769 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.7892, allocations: 2.969 kB / 0.8769 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.7897, allocations: 36.94 kB / 0.877 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.7898, allocations: 22.48 kB / 0.877 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.7899, allocations: 15.92 kB / 0.877 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004532/0.7903, allocations: 398.4 kB / 0.8774 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7903, allocations: 0 / 0.8774 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000696/0.791, allocations: 212.9 kB / 0.8776 GB, free: 9.855 MB / 0.5919 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.0003917/0.7914, allocations: 162.1 kB / 0.8777 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009174/0.7924, allocations: 0.5405 MB / 0.8783 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7924, allocations: 4.312 kB / 0.8783 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.7928, allocations: 254.6 kB / 0.8785 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.7946, allocations: 357.1 kB / 0.8789 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.7963, allocations: 1.257 MB / 0.8801 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.7968, allocations: 0.9017 MB / 0.881 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004448/0.7972, allocations: 116.8 kB / 0.8811 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.7973, allocations: 43.44 kB / 0.8811 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.7973, allocations: 0 / 0.8811 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of Templates: time 0.02042/0.8177, allocations: 12.31 MB / 0.8932 GB, free: 10.05 MB / 0.6075 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)