Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009906, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001402/0.001402, allocations: 168.7 kB / 15.95 MB, free: 204 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.739/1.739, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4249/0.4249, allocations: 55.02 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.0006135/0.000614, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4391, allocations: 60.72 MB / 457.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1926/0.6317, allocations: 155.4 MB / 0.5984 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007778/0.6395, allocations: 4.009 MB / 0.6023 GB, free: 7.812 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008003/0.6404, allocations: 19.88 kB / 0.6024 GB, free: 7.793 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009216/0.6413, allocations: 238.4 kB / 0.6026 GB, free: 7.559 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.002482/0.6438, allocations: 0.8046 MB / 0.6034 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.6457, allocations: 0.5849 MB / 0.6039 GB, free: 6.172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.6478, allocations: 1.605 MB / 0.6055 GB, free: 4.566 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.6484, allocations: 359.2 kB / 0.6058 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.6495, allocations: 0.5369 MB / 0.6064 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.6503, allocations: 466.3 kB / 0.6068 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.6504, allocations: 20 kB / 0.6068 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.6518, allocations: 0.6159 MB / 0.6074 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.652, allocations: 192 kB / 0.6076 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.6522, allocations: 141.5 kB / 0.6078 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.6532, allocations: 0.8068 MB / 0.6085 GB, free: 1.441 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6532, allocations: 0 / 0.6085 GB, free: 1.441 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6532, allocations: 0 / 0.6085 GB, free: 1.441 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.6532, allocations: 3.938 kB / 0.6085 GB, free: 1.438 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00155/0.6548, allocations: 0.8436 MB / 0.6094 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6548, allocations: 12.88 kB / 0.6094 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.6562, allocations: 271 kB / 0.6096 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.657, allocations: 467.5 kB / 0.6101 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.6573, allocations: 100.9 kB / 0.6102 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.6574, allocations: 36 kB / 0.6102 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.6586, allocations: 0.6341 MB / 0.6108 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6586, allocations: 4 kB / 0.6108 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.6587, allocations: 23.98 kB / 0.6109 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.6587, allocations: 17 kB / 0.6109 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.6601, allocations: 0.5793 MB / 0.6114 GB, free: 14.36 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.00393/0.664, allocations: 2.281 MB / 0.6137 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.6649, allocations: 318.3 kB / 0.614 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.6654, allocations: 180.7 kB / 0.6142 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.6655, allocations: 15.97 kB / 0.6142 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.6655, allocations: 38.5 kB / 0.6142 GB, free: 11.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.6655, allocations: 0 / 0.6142 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.00455/0.6701, allocations: 1.175 MB / 0.6154 GB, free: 10.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.6702, allocations: 81.33 kB / 0.6154 GB, free: 10.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006581/0.6708, allocations: 0.5612 MB / 0.616 GB, free: 9.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.6709, allocations: 33.7 kB / 0.616 GB, free: 9.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.6711, allocations: 299.5 kB / 0.6163 GB, free: 9.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.6711, allocations: 39.45 kB / 0.6163 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.6712, allocations: 8 kB / 0.6163 GB, free: 9.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6713, allocations: 350.8 kB / 0.6167 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/0.6719, allocations: 209.2 kB / 0.6169 GB, free: 8.574 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.6725, allocations: 299.1 kB / 0.6172 GB, free: 8.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.6732, allocations: 226.7 kB / 0.6174 GB, free: 8.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6732, allocations: 0 / 0.6174 GB, free: 8.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002412/0.6756, allocations: 0.7786 MB / 0.6181 GB, free: 7.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.6756, allocations: 4 kB / 0.6181 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6757, allocations: 4 kB / 0.6181 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000752/0.6764, allocations: 197.4 kB / 0.6183 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.6768, allocations: 79.89 kB / 0.6184 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.6811, allocations: 2.084 MB / 0.6204 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.6817, allocations: 103.4 kB / 0.6205 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.6818, allocations: 12 kB / 0.6206 GB, free: 4.633 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003214/0.6821, allocations: 193.7 kB / 0.6207 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.6822, allocations: 55.44 kB / 0.6208 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.6823, allocations: 49.81 kB / 0.6208 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6824, allocations: 4 kB / 0.6208 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6824, allocations: 0 / 0.6208 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6824, allocations: 3.953 kB / 0.6208 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.6852, allocations: 1.18 MB / 0.622 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6852, allocations: 0 / 0.622 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.6855, allocations: 51.95 kB / 0.622 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/0.686, allocations: 192.7 kB / 0.6222 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.686, allocations: 0 / 0.6222 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.6892, allocations: 2.051 MB / 0.6242 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6892, allocations: 0 / 0.6242 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.6914, allocations: 0.7598 MB / 0.625 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.6917, allocations: 176.4 kB / 0.6251 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.6917, allocations: 3.953 kB / 0.6251 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.6923, allocations: 68.8 kB / 0.6252 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.6924, allocations: 11.98 kB / 0.6252 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.6924, allocations: 11.98 kB / 0.6252 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005047/0.6929, allocations: 398.8 kB / 0.6256 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6929, allocations: 0 / 0.6256 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006787/0.6936, allocations: 163.8 kB / 0.6258 GB, free: 15.03 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 (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004979/0.6941, allocations: 177.7 kB / 0.6259 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.6957, allocations: 0.5582 MB / 0.6265 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6957, allocations: 0 / 0.6265 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.6964, allocations: 323.1 kB / 0.6268 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.6978, allocations: 299.8 kB / 0.6271 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.7006, allocations: 1.256 MB / 0.6283 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.7011, allocations: 0.866 MB / 0.6292 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000431/0.7016, allocations: 110.2 kB / 0.6293 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.7017, allocations: 31.44 kB / 0.6293 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.7017, allocations: 4 kB / 0.6293 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.2827/0.9844, allocations: 11.61 MB / 0.6406 GB, free: 158.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: