Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001063/0.001063, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 170.2 kB / 16.58 MB, free: 6.051 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.395/1.395, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6994/0.6994, allocations: 115.5 MB / 407.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 9.531 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 77.54 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.414/0.5598, allocations: 155.2 MB / 0.7108 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005424/0.5652, allocations: 3.181 MB / 0.7139 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005672/0.5658, allocations: 15.88 kB / 0.714 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.5665, allocations: 214.6 kB / 0.7142 GB, free: 8.703 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001953/0.5685, allocations: 0.7542 MB / 0.7149 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.57, allocations: 490.3 kB / 0.7154 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001949/0.5719, allocations: 1.782 MB / 0.7171 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.5725, allocations: 363.2 kB / 0.7175 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007893/0.5733, allocations: 485.9 kB / 0.7179 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006751/0.574, allocations: 446.3 kB / 0.7183 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.574, allocations: 20 kB / 0.7184 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.5751, allocations: 427 kB / 0.7188 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.5754, allocations: 215.3 kB / 0.719 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.5756, allocations: 141.5 kB / 0.7191 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008703/0.5764, allocations: 0.7716 MB / 0.7199 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5764, allocations: 0 / 0.7199 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5765, allocations: 3.938 kB / 0.7199 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.5765, allocations: 0 / 0.7199 GB, free: 2.848 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001209/0.5777, allocations: 0.8051 MB / 0.7207 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5777, allocations: 11.97 kB / 0.7207 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.5789, allocations: 167.2 kB / 0.7208 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.5796, allocations: 0.4976 MB / 0.7213 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.5797, allocations: 29 kB / 0.7213 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.5798, allocations: 44 kB / 0.7214 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.5806, allocations: 470.3 kB / 0.7218 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.5806, allocations: 4 kB / 0.7218 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.5806, allocations: 20 kB / 0.7219 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.5807, allocations: 16.98 kB / 0.7219 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.5813, allocations: 407.8 kB / 0.7223 GB, free: 316 kB / 0.5294 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.002436/0.5838, allocations: 1.742 MB / 0.724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.5842, allocations: 286.7 kB / 0.7242 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.5845, allocations: 180.8 kB / 0.7244 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.5847, allocations: 97.09 kB / 0.7245 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.5847, allocations: 43.03 kB / 0.7245 GB, free: 13.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.205e-06/0.5847, allocations: 3.938 kB / 0.7245 GB, free: 13.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001931/0.5867, allocations: 1.051 MB / 0.7256 GB, free: 12.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.5867, allocations: 63.34 kB / 0.7256 GB, free: 12.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.5872, allocations: 445.8 kB / 0.7261 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.5873, allocations: 37.7 kB / 0.7261 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.5875, allocations: 248.2 kB / 0.7263 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5876, allocations: 122.3 kB / 0.7264 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.5876, allocations: 8 kB / 0.7265 GB, free: 11.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5877, allocations: 350.8 kB / 0.7268 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.588, allocations: 131.9 kB / 0.7269 GB, free: 11.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.5882, allocations: 197.7 kB / 0.7271 GB, free: 11.06 MB / 0.545 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.5897, allocations: 0.5561 MB / 0.7276 GB, free: 10.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5897, allocations: 0 / 0.7276 GB, free: 10.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006215/0.5903, allocations: 408.7 kB / 0.728 GB, free: 10.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5903, allocations: 7.984 kB / 0.728 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5904, allocations: 4.875 kB / 0.728 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5904, allocations: 4 kB / 0.728 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.5907, allocations: 76.09 kB / 0.7281 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.5907, allocations: 8.594 kB / 0.7281 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.5911, allocations: 28.98 kB / 0.7282 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.5912, allocations: 12 kB / 0.7282 GB, free: 9.941 MB / 0.545 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002455/0.5914, allocations: 217.7 kB / 0.7284 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.5915, allocations: 51.38 kB / 0.7284 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.5916, allocations: 64.19 kB / 0.7285 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.5917, allocations: 4 kB / 0.7285 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5917, allocations: 0 / 0.7285 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005047/0.5922, allocations: 408.6 kB / 0.7289 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.5939, allocations: 1.248 MB / 0.7301 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5939, allocations: 4 kB / 0.7301 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.5943, allocations: 67.91 kB / 0.7302 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.5943, allocations: 8 kB / 0.7302 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.5943, allocations: 11.98 kB / 0.7302 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.5944, allocations: 15.92 kB / 0.7302 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5944, allocations: 4 kB / 0.7302 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.5952, allocations: 0.7047 MB / 0.7309 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.5954, allocations: 164.5 kB / 0.731 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.5955, allocations: 20.05 kB / 0.7311 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.5959, allocations: 29.52 kB / 0.7311 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.596, allocations: 35.86 kB / 0.7311 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.596, allocations: 20 kB / 0.7312 GB, free: 6.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003461/0.5964, allocations: 319.1 kB / 0.7315 GB, free: 6.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5964, allocations: 0 / 0.7315 GB, free: 6.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005458/0.597, allocations: 152 kB / 0.7316 GB, free: 6.207 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0003499/0.5973, allocations: 175.7 kB / 0.7318 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.5979, allocations: 316.1 kB / 0.7321 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5979, allocations: 4 kB / 0.7321 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.5981, allocations: 161.9 kB / 0.7322 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.5998, allocations: 355.8 kB / 0.7326 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.6015, allocations: 1.334 MB / 0.7339 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.602, allocations: 0.8862 MB / 0.7347 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000506/0.6025, allocations: 132.6 kB / 0.7349 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6026, allocations: 43.44 kB / 0.7349 GB, free: 2.734 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6026, allocations: 0 / 0.7349 GB, free: 2.734 MB / 0.545 GB Notification: Performance of Templates: time 0.01711/0.6198, allocations: 10.19 MB / 0.7449 GB, free: 8.723 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)