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.001818/0.001818, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002066/0.002066, allocations: 198.4 kB / 16.14 MB, free: 6.637 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.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002401/0.002401, allocations: 283.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 99.17 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1763, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5177/0.6941, allocations: 168.8 MB / 0.8576 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006735/0.7009, allocations: 4.359 MB / 0.8619 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.7016, allocations: 24.16 kB / 0.8619 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009869/0.7026, allocations: 297.1 kB / 0.8622 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.7053, allocations: 1.154 MB / 0.8633 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.7071, allocations: 0.7159 MB / 0.864 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.7094, allocations: 2.363 MB / 0.8663 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006322/0.71, allocations: 489.6 kB / 0.8668 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.711, allocations: 0.5964 MB / 0.8674 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.7122, allocations: 0.5784 MB / 0.8679 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.7123, allocations: 32.5 kB / 0.868 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.7139, allocations: 0.9107 MB / 0.8689 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.7141, allocations: 245.3 kB / 0.8691 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.7145, allocations: 370.3 kB / 0.8694 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.716, allocations: 1.288 MB / 0.8707 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.716, allocations: 0 / 0.8707 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.716, allocations: 0 / 0.8707 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.716, allocations: 0 / 0.8707 GB, free: 4.145 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.001817/0.7178, allocations: 1.033 MB / 0.8717 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7179, allocations: 10.19 kB / 0.8717 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.7189, allocations: 167.3 kB / 0.8719 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.7197, allocations: 0.5133 MB / 0.8724 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.7198, allocations: 48.19 kB / 0.8724 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.7199, allocations: 52.59 kB / 0.8725 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.721, allocations: 0.6444 MB / 0.8731 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.721, allocations: 2.75 kB / 0.8731 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.7211, allocations: 28.31 kB / 0.8731 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.7211, allocations: 25.83 kB / 0.8732 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.722, allocations: 0.5178 MB / 0.8737 GB, free: 2.105 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.003347/0.7254, allocations: 2.306 MB / 0.8759 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.7259, allocations: 250.8 kB / 0.8762 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.7262, allocations: 138.6 kB / 0.8763 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.7263, allocations: 6.859 kB / 0.8763 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.7263, allocations: 39.12 kB / 0.8763 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.7263, allocations: 0 / 0.8763 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.00175/0.7281, allocations: 0.6715 MB / 0.877 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.7281, allocations: 81.11 kB / 0.8771 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.7289, allocations: 0.5536 MB / 0.8776 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.7289, allocations: 33.7 kB / 0.8776 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.7292, allocations: 331 kB / 0.878 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.7293, allocations: 71.08 kB / 0.878 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.7295, allocations: 69.94 kB / 0.8781 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7297, allocations: 366.7 kB / 0.8784 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.7299, allocations: 132.6 kB / 0.8786 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.7303, allocations: 210.7 kB / 0.8788 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.7309, allocations: 337.6 kB / 0.8791 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7309, allocations: 4 kB / 0.8791 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009665/0.7319, allocations: 498.6 kB / 0.8796 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7319, allocations: 8 kB / 0.8796 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7319, allocations: 3.984 kB / 0.8796 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/0.7323, allocations: 93.59 kB / 0.8797 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.7326, allocations: 77.09 kB / 0.8797 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.736, allocations: 3.097 MB / 0.8828 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.7366, allocations: 71.34 kB / 0.8828 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.7366, allocations: 8 kB / 0.8828 GB, free: 8.949 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.0003272/0.737, allocations: 225.7 kB / 0.8831 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.7371, allocations: 55.38 kB / 0.8831 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.7372, allocations: 56.5 kB / 0.8832 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7372, allocations: 4 kB / 0.8832 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.7372, allocations: 0 / 0.8832 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008301/0.738, allocations: 0.5283 MB / 0.8837 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.7395, allocations: 0.9257 MB / 0.8846 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7395, allocations: 0 / 0.8846 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.7397, allocations: 39.97 kB / 0.8846 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.74, allocations: 68.88 kB / 0.8847 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.74, allocations: 4.125 kB / 0.8847 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.742, allocations: 1.687 MB / 0.8863 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.742, allocations: 0 / 0.8863 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.7427, allocations: 441.2 kB / 0.8868 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.743, allocations: 176.4 kB / 0.8869 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.7431, allocations: 4 kB / 0.8869 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.7436, allocations: 29.39 kB / 0.887 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.7437, allocations: 19.97 kB / 0.887 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.7437, allocations: 12 kB / 0.887 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005239/0.7443, allocations: 402.8 kB / 0.8874 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7443, allocations: 0 / 0.8874 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007733/0.7451, allocations: 215.5 kB / 0.8876 GB, free: 3.773 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.0004535/0.7455, allocations: 161.7 kB / 0.8877 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.7466, allocations: 0.5265 MB / 0.8883 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.7466, allocations: 3.75 kB / 0.8883 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.747, allocations: 250.5 kB / 0.8885 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.7488, allocations: 373 kB / 0.8889 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.7507, allocations: 1.196 MB / 0.89 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.7514, allocations: 0.9171 MB / 0.8909 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005172/0.7519, allocations: 106.1 kB / 0.891 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-05/0.752, allocations: 35.44 kB / 0.8911 GB, free: 136 kB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.752, allocations: 0 / 0.8911 GB, free: 136 kB / 0.6075 GB Notification: Performance of Templates: time 0.02425/0.7763, allocations: 12.38 MB / 0.9031 GB, free: 3.98 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)