Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 92.16 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.001139/0.001139, 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.815/1.815, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3957/0.3957, allocations: 55 MB / 325.4 MB, free: 0.7266 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.0005504/0.0005507, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.444, allocations: 60.72 MB / 457.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2181/0.6621, allocations: 155.1 MB / 0.5981 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006441/0.6686, allocations: 3.116 MB / 0.6012 GB, free: 8.973 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.6695, allocations: 19.81 kB / 0.6012 GB, free: 8.953 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009815/0.6705, allocations: 242.5 kB / 0.6014 GB, free: 8.715 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.003289/0.6738, allocations: 0.7598 MB / 0.6022 GB, free: 7.953 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.6759, allocations: 0.5204 MB / 0.6027 GB, free: 7.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.6789, allocations: 2.079 MB / 0.6047 GB, free: 5.363 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.6796, allocations: 394.1 kB / 0.6051 GB, free: 4.977 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.6811, allocations: 0.5758 MB / 0.6057 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009154/0.682, allocations: 0.4903 MB / 0.6061 GB, free: 3.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.6821, allocations: 24 kB / 0.6062 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.6833, allocations: 315.3 kB / 0.6065 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.6837, allocations: 251.3 kB / 0.6067 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.684, allocations: 154.2 kB / 0.6068 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.6853, allocations: 0.8495 MB / 0.6077 GB, free: 2.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.6853, allocations: 0 / 0.6077 GB, free: 2.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6853, allocations: 0 / 0.6077 GB, free: 2.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.6854, allocations: 4 kB / 0.6077 GB, free: 2.316 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001587/0.687, allocations: 0.8264 MB / 0.6085 GB, free: 1.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.687, allocations: 8.031 kB / 0.6085 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.6881, allocations: 155.1 kB / 0.6086 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.6891, allocations: 0.4955 MB / 0.6091 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.6892, allocations: 40.94 kB / 0.6092 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.6892, allocations: 52.89 kB / 0.6092 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6903, allocations: 0.5334 MB / 0.6097 GB, free: 120 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6903, allocations: 4 kB / 0.6097 GB, free: 116 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.6904, allocations: 23.98 kB / 0.6098 GB, free: 92 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.6904, allocations: 20.94 kB / 0.6098 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.6912, allocations: 459.8 kB / 0.6102 GB, free: 15.62 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.003286/0.6945, allocations: 2.064 MB / 0.6122 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.6949, allocations: 214.5 kB / 0.6124 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.6952, allocations: 125.5 kB / 0.6126 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.6952, allocations: 4 kB / 0.6126 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.6953, allocations: 42.84 kB / 0.6126 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 3.627e-06/0.6953, allocations: 0 / 0.6126 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=20): time 0.001041/0.6964, allocations: 351.8 kB / 0.6129 GB, free: 12.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.6964, allocations: 51.41 kB / 0.613 GB, free: 12.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/0.6974, allocations: 0.5692 MB / 0.6135 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.6974, allocations: 29.7 kB / 0.6136 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.6978, allocations: 311.3 kB / 0.6139 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.6979, allocations: 67 kB / 0.6139 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.6979, allocations: 8 kB / 0.6139 GB, free: 11.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.6981, allocations: 362.8 kB / 0.6143 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.6984, allocations: 119.7 kB / 0.6144 GB, free: 11.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.6987, allocations: 211 kB / 0.6146 GB, free: 10.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.6991, allocations: 157.3 kB / 0.6148 GB, free: 10.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6991, allocations: 0 / 0.6148 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008351/0.6999, allocations: 426.4 kB / 0.6152 GB, free: 10.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.7, allocations: 16 kB / 0.6152 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7, allocations: 3.984 kB / 0.6152 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.7, allocations: 7.953 kB / 0.6152 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.7004, allocations: 63.92 kB / 0.6153 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.7004, allocations: 7.984 kB / 0.6153 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.7011, allocations: 75.3 kB / 0.6153 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.7011, allocations: 8 kB / 0.6153 GB, free: 10.11 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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004053/0.7015, allocations: 221.7 kB / 0.6155 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.7016, allocations: 55.34 kB / 0.6156 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.7018, allocations: 57.72 kB / 0.6157 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.7018, allocations: 7.953 kB / 0.6157 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.7018, allocations: 0 / 0.6157 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004727/0.7023, allocations: 308.4 kB / 0.616 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.7039, allocations: 0.9103 MB / 0.6168 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7039, allocations: 0 / 0.6168 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.7042, allocations: 51.97 kB / 0.6169 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.7042, allocations: 4 kB / 0.6169 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.7042, allocations: 8.766 kB / 0.6169 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7042, allocations: 0 / 0.6169 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.7042, allocations: 3.938 kB / 0.6169 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.7049, allocations: 0.4971 MB / 0.6174 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.7052, allocations: 192.3 kB / 0.6176 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.7052, allocations: 8 kB / 0.6176 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.7057, allocations: 32.59 kB / 0.6176 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.7057, allocations: 11.94 kB / 0.6176 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.7058, allocations: 19.98 kB / 0.6177 GB, free: 7.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000466/0.7063, allocations: 410.8 kB / 0.618 GB, free: 7.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7063, allocations: 3.938 kB / 0.618 GB, free: 7.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005747/0.7068, allocations: 167.7 kB / 0.6182 GB, free: 7.027 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003999/0.7072, allocations: 142.7 kB / 0.6183 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.7077, allocations: 268 kB / 0.6186 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7077, allocations: 0 / 0.6186 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.7079, allocations: 106.8 kB / 0.6187 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.7095, allocations: 365.1 kB / 0.619 GB, free: 6.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.7113, allocations: 1.262 MB / 0.6203 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.7117, allocations: 0.8978 MB / 0.6212 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005575/0.7123, allocations: 130.5 kB / 0.6213 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/0.7124, allocations: 43.44 kB / 0.6213 GB, free: 3.801 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.7124, allocations: 0 / 0.6213 GB, free: 3.801 MB / 494.1 MB Notification: Performance of Templates: time 0.02294/0.7354, allocations: 10.97 MB / 0.632 GB, free: 8.988 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: