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.001698/0.001698, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001993/0.001993, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002602/0.002602, allocations: 286.4 kB / 290.4 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.6 MB / 0.507 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 97.25 kB / 0.6059 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1836, allocations: 89.15 MB / 0.693 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5237/0.7073, allocations: 168.8 MB / 0.8578 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.7189, allocations: 4.28 MB / 0.862 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.7201, allocations: 20.41 kB / 0.862 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.7219, allocations: 309.2 kB / 0.8623 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005731/0.7277, allocations: 1.148 MB / 0.8634 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.7313, allocations: 0.7354 MB / 0.8641 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003654/0.735, allocations: 1.688 MB / 0.8658 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.7364, allocations: 0.5511 MB / 0.8663 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.7385, allocations: 0.6845 MB / 0.867 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.7404, allocations: 0.5915 MB / 0.8675 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.7406, allocations: 64.81 kB / 0.8676 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.7432, allocations: 0.844 MB / 0.8684 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.7437, allocations: 269 kB / 0.8687 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007192/0.7444, allocations: 410.3 kB / 0.8691 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.747, allocations: 1.313 MB / 0.8704 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7471, allocations: 0 / 0.8704 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7471, allocations: 0 / 0.8704 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.7471, allocations: 0 / 0.8704 GB, free: 4.547 MB / 0.5919 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.00304/0.7501, allocations: 1.037 MB / 0.8714 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7502, allocations: 10.25 kB / 0.8714 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.7521, allocations: 159 kB / 0.8715 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.7535, allocations: 0.52 MB / 0.872 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.7535, allocations: 45.31 kB / 0.8721 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.7537, allocations: 51.25 kB / 0.8721 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.7556, allocations: 0.6518 MB / 0.8728 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.7557, allocations: 4 kB / 0.8728 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.7558, allocations: 24.69 kB / 0.8728 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.7559, allocations: 29.75 kB / 0.8728 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.7576, allocations: 0.5126 MB / 0.8733 GB, free: 2.508 MB / 0.5919 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.006146/0.7638, allocations: 2.3 MB / 0.8756 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.7647, allocations: 255 kB / 0.8758 GB, free: 488 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.7652, allocations: 138.6 kB / 0.8759 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.7652, allocations: 4.469 kB / 0.8759 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.7653, allocations: 37.38 kB / 0.876 GB, free: 368 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 4.869e-06/0.7653, allocations: 0 / 0.876 GB, free: 368 kB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.003093/0.7684, allocations: 0.6732 MB / 0.8766 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.7685, allocations: 81.36 kB / 0.8767 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.7698, allocations: 0.5574 MB / 0.8773 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/0.7699, allocations: 33.7 kB / 0.8773 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.7704, allocations: 331 kB / 0.8776 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.7706, allocations: 71.09 kB / 0.8777 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.7708, allocations: 69.94 kB / 0.8777 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002633/0.7711, allocations: 366.7 kB / 0.8781 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.7715, allocations: 128.6 kB / 0.8782 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.7721, allocations: 214.7 kB / 0.8784 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.7732, allocations: 331.5 kB / 0.8787 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7733, allocations: 0 / 0.8787 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001766/0.775, allocations: 0.4946 MB / 0.8792 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.7751, allocations: 4 kB / 0.8792 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.7751, allocations: 7.984 kB / 0.8792 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.7757, allocations: 89.69 kB / 0.8793 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.7764, allocations: 75.91 kB / 0.8794 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.7827, allocations: 3.361 MB / 0.8827 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.784, allocations: 79.28 kB / 0.8828 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.784, allocations: 12 kB / 0.8828 GB, free: 9.211 MB / 0.6075 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.0006026/0.7846, allocations: 210.7 kB / 0.883 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.7849, allocations: 55.44 kB / 0.883 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.785, allocations: 60.5 kB / 0.8831 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.7851, allocations: 0 / 0.8831 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7851, allocations: 3.938 kB / 0.8831 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00131/0.7864, allocations: 0.5321 MB / 0.8836 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.7884, allocations: 0.9181 MB / 0.8845 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7884, allocations: 4 kB / 0.8845 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.7887, allocations: 43.97 kB / 0.8845 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.7889, allocations: 60.81 kB / 0.8846 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.7889, allocations: 5.312 kB / 0.8846 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.791, allocations: 1.828 MB / 0.8864 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.7911, allocations: 0 / 0.8864 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000725/0.7918, allocations: 439.6 kB / 0.8868 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.7921, allocations: 168.3 kB / 0.887 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.7921, allocations: 11.94 kB / 0.887 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.7927, allocations: 29.59 kB / 0.887 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.7928, allocations: 19.98 kB / 0.887 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.7928, allocations: 15.98 kB / 0.887 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005179/0.7933, allocations: 398.8 kB / 0.8874 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7933, allocations: 0 / 0.8874 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007456/0.7941, allocations: 215.5 kB / 0.8876 GB, free: 3.906 MB / 0.6075 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.0004171/0.7945, allocations: 157.2 kB / 0.8878 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009829/0.7955, allocations: 0.5444 MB / 0.8883 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.7955, allocations: 11.69 kB / 0.8883 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.796, allocations: 255.2 kB / 0.8886 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.7976, allocations: 366.8 kB / 0.8889 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.7994, allocations: 1.196 MB / 0.8901 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.8, allocations: 0.9093 MB / 0.891 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004878/0.8005, allocations: 108.8 kB / 0.8911 GB, free: 292 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.8006, allocations: 39.44 kB / 0.8911 GB, free: 252 kB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.8006, allocations: 4 kB / 0.8911 GB, free: 248 kB / 0.6075 GB Notification: Performance of Templates: time 0.02599/0.8266, allocations: 12.88 MB / 0.9037 GB, free: 3.605 MB / 0.6231 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)