Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009562/0.0009562, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001336/0.001336, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4098/0.4098, allocations: 55.01 MB / 325.4 MB, free: 0.6875 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005296/0.0005296, allocations: 16 kB / 396.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4163, allocations: 60.72 MB / 457.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1879/0.6042, allocations: 155.5 MB / 0.5985 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007122/0.6114, allocations: 4.023 MB / 0.6024 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007373/0.6122, allocations: 23.88 kB / 0.6024 GB, free: 7.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.613, allocations: 251 kB / 0.6027 GB, free: 7.566 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002784/0.6158, allocations: 0.9252 MB / 0.6036 GB, free: 6.637 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.6179, allocations: 0.6012 MB / 0.6042 GB, free: 6.043 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.6207, allocations: 2.163 MB / 0.6063 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.6214, allocations: 438 kB / 0.6067 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.6226, allocations: 0.6197 MB / 0.6073 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.6234, allocations: 0.5427 MB / 0.6078 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.6235, allocations: 24 kB / 0.6078 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.6246, allocations: 367.2 kB / 0.6082 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.6249, allocations: 247.3 kB / 0.6084 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.6251, allocations: 173.3 kB / 0.6086 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009138/0.626, allocations: 0.9001 MB / 0.6095 GB, free: 0.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.626, allocations: 0 / 0.6095 GB, free: 0.582 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.626, allocations: 0 / 0.6095 GB, free: 0.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.6261, allocations: 4 kB / 0.6095 GB, free: 0.5781 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001644/0.6277, allocations: 0.9046 MB / 0.6104 GB, free: 15.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6277, allocations: 8.031 kB / 0.6104 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.6286, allocations: 159.5 kB / 0.6105 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.6294, allocations: 0.4919 MB / 0.611 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.6294, allocations: 45.31 kB / 0.611 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.6295, allocations: 52 kB / 0.6111 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.6307, allocations: 0.6635 MB / 0.6117 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.6307, allocations: 3.938 kB / 0.6117 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.6308, allocations: 24.75 kB / 0.6118 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.6308, allocations: 29.31 kB / 0.6118 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.6317, allocations: 0.5087 MB / 0.6123 GB, free: 13.59 MB / 494.1 MB 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.003156/0.6349, allocations: 2.294 MB / 0.6145 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.6354, allocations: 254.7 kB / 0.6148 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.6356, allocations: 139.5 kB / 0.6149 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.6356, allocations: 3.984 kB / 0.6149 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.6357, allocations: 38.56 kB / 0.615 GB, free: 10.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 3.306e-06/0.6357, allocations: 0 / 0.615 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=20): time 0.001628/0.6373, allocations: 0.6873 MB / 0.6156 GB, free: 9.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.6374, allocations: 89.05 kB / 0.6157 GB, free: 9.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/0.638, allocations: 0.5654 MB / 0.6163 GB, free: 9.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.6381, allocations: 33.7 kB / 0.6163 GB, free: 9.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.6383, allocations: 331.4 kB / 0.6166 GB, free: 8.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.6384, allocations: 71 kB / 0.6167 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.6384, allocations: 8 kB / 0.6167 GB, free: 8.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6385, allocations: 358.8 kB / 0.617 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.6388, allocations: 124.6 kB / 0.6171 GB, free: 8.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.6391, allocations: 237.4 kB / 0.6174 GB, free: 8.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.6394, allocations: 159.9 kB / 0.6175 GB, free: 7.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6394, allocations: 0 / 0.6175 GB, free: 7.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008763/0.6403, allocations: 0.4945 MB / 0.618 GB, free: 7.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6403, allocations: 8 kB / 0.618 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6403, allocations: 0 / 0.618 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.6407, allocations: 102.3 kB / 0.6181 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.641, allocations: 67.91 kB / 0.6182 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.6439, allocations: 3.092 MB / 0.6212 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.6444, allocations: 78.08 kB / 0.6213 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.6444, allocations: 12 kB / 0.6213 GB, free: 3.781 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003442/0.6448, allocations: 225.7 kB / 0.6215 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.6449, allocations: 55.34 kB / 0.6216 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.645, allocations: 60.72 kB / 0.6216 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.645, allocations: 0 / 0.6216 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.645, allocations: 4 kB / 0.6216 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007034/0.6457, allocations: 0.5356 MB / 0.6221 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.647, allocations: 0.9221 MB / 0.623 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.647, allocations: 0 / 0.623 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.6472, allocations: 47.98 kB / 0.6231 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.6474, allocations: 68.8 kB / 0.6231 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6474, allocations: 0 / 0.6231 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.6489, allocations: 1.695 MB / 0.6248 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6489, allocations: 0 / 0.6248 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.6496, allocations: 445 kB / 0.6252 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.6499, allocations: 180.3 kB / 0.6254 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.65, allocations: 8 kB / 0.6254 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.6505, allocations: 47.88 kB / 0.6255 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.6507, allocations: 15.94 kB / 0.6255 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.6507, allocations: 15.98 kB / 0.6255 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005485/0.6513, allocations: 410.8 kB / 0.6259 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.31e-07/0.6513, allocations: 4 kB / 0.6259 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008074/0.6521, allocations: 207.5 kB / 0.6261 GB, free: 14.55 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004457/0.6526, allocations: 150.7 kB / 0.6262 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.6536, allocations: 0.5258 MB / 0.6267 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.6536, allocations: 4 kB / 0.6267 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.654, allocations: 251.4 kB / 0.627 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6557, allocations: 370.4 kB / 0.6273 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.6576, allocations: 1.21 MB / 0.6285 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.6582, allocations: 0.9171 MB / 0.6294 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004981/0.6587, allocations: 116 kB / 0.6295 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.6588, allocations: 39.44 kB / 0.6296 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.6589, allocations: 0 / 0.6296 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.2673/0.9261, allocations: 12.53 MB / 0.6418 GB, free: 159.2 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: