Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009443/0.0009444, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7347, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04776/0.7825, allocations: 41.6 MB / 0.9941 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.8026, allocations: 10.91 MB / 1.005 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.8065, allocations: 67.5 kB / 1.005 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.8103, allocations: 0.8511 MB / 1.006 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009653/0.82, allocations: 2.356 MB / 1.008 GB, free: 8.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006963/0.827, allocations: 2.025 MB / 1.01 GB, free: 6.262 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006083/0.8331, allocations: 2.06 MB / 1.012 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.8356, allocations: 0.9137 MB / 1.013 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.8386, allocations: 0.93 MB / 1.014 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.8402, allocations: 0.5829 MB / 1.014 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.8406, allocations: 40 kB / 1.014 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.8435, allocations: 0.8035 MB / 1.015 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004728/0.844, allocations: 199.1 kB / 1.015 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007224/0.8447, allocations: 269 kB / 1.016 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.8475, allocations: 1.381 MB / 1.017 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8476, allocations: 0 / 1.017 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.025e-06/0.8476, allocations: 0 / 1.017 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.967e-05/0.8476, allocations: 0 / 1.017 GB, free: 15.04 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003176/0.8508, allocations: 1.489 MB / 1.018 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.8509, allocations: 12.03 kB / 1.018 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.8517, allocations: 230.1 kB / 1.019 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.8548, allocations: 0.9438 MB / 1.02 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.8552, allocations: 129.9 kB / 1.02 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.8553, allocations: 80 kB / 1.02 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.8576, allocations: 0.9923 MB / 1.021 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.8576, allocations: 3.953 kB / 1.021 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.8577, allocations: 36 kB / 1.021 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.8578, allocations: 27.94 kB / 1.021 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.8594, allocations: 0.6868 MB / 1.021 GB, free: 10.25 MB / 0.7794 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.005519/0.8649, allocations: 4.477 MB / 1.026 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.8661, allocations: 442.4 kB / 1.026 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.8671, allocations: 1.148 MB / 1.027 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.8671, allocations: 38.55 kB / 1.027 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=29): time 2.735e-06/0.8671, allocations: 0 / 1.027 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29): time 0.003041/0.8702, allocations: 1.135 MB / 1.029 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.8702, allocations: 59.34 kB / 1.029 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.8716, allocations: 0.9786 MB / 1.03 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.8716, allocations: 33.7 kB / 1.03 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00052/0.8722, allocations: 0.5773 MB / 1.03 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.8723, allocations: 102.5 kB / 1.03 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.8723, allocations: 8 kB / 1.03 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.8725, allocations: 329.9 kB / 1.031 GB, free: 300 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.8731, allocations: 217 kB / 1.031 GB, free: 84 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/0.8738, allocations: 406.8 kB / 1.031 GB, free: 15.61 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.8745, allocations: 253.3 kB / 1.031 GB, free: 15.36 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8745, allocations: 3.938 kB / 1.031 GB, free: 15.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001694/0.8762, allocations: 0.7605 MB / 1.032 GB, free: 14.58 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.8762, allocations: 12.12 kB / 1.032 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.8762, allocations: 4 kB / 1.032 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/0.877, allocations: 166.4 kB / 1.032 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.8776, allocations: 155.8 kB / 1.032 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.8789, allocations: 1.716 MB / 1.034 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.8798, allocations: 123.2 kB / 1.034 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.8799, allocations: 27.98 kB / 1.034 GB, free: 12.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005941/0.8805, allocations: 269.6 kB / 1.035 GB, free: 12.03 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.8807, allocations: 106.7 kB / 1.035 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.8826, allocations: 0.7675 MB / 1.035 GB, free: 11.14 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.8826, allocations: 4 kB / 1.035 GB, free: 11.13 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8827, allocations: 4 kB / 1.035 GB, free: 11.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.8827, allocations: 3.984 kB / 1.035 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.8857, allocations: 1.687 MB / 1.037 GB, free: 9.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.8857, allocations: 4 kB / 1.037 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.8862, allocations: 108.1 kB / 1.037 GB, free: 9.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.8868, allocations: 150.4 kB / 1.037 GB, free: 9.094 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.8868, allocations: 8 kB / 1.037 GB, free: 9.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.8879, allocations: 1.716 MB / 1.039 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8879, allocations: 4.188 kB / 1.039 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.8896, allocations: 0.899 MB / 1.04 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.89, allocations: 259.5 kB / 1.04 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.8902, allocations: 8 kB / 1.04 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.8908, allocations: 95.86 kB / 1.04 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.8909, allocations: 23.95 kB / 1.04 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.891, allocations: 23.98 kB / 1.04 GB, free: 5.895 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008884/0.8918, allocations: 0.6655 MB / 1.041 GB, free: 5.223 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8919, allocations: 0 / 1.041 GB, free: 5.223 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001111/0.893, allocations: 383.1 kB / 1.041 GB, free: 4.848 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008158/0.8938, allocations: 423.5 kB / 1.042 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.8955, allocations: 0.5792 MB / 1.042 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8955, allocations: 0 / 1.042 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.8963, allocations: 309.7 kB / 1.043 GB, free: 3.559 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.8985, allocations: 499.4 kB / 1.043 GB, free: 3.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.9018, allocations: 2.214 MB / 1.045 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.9024, allocations: 1.134 MB / 1.046 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006927/0.9031, allocations: 179.6 kB / 1.046 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.9033, allocations: 67.42 kB / 1.047 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of SimCode: time 1.042e-06/0.9033, allocations: 0 / 1.047 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.03268/0.936, allocations: 19.65 MB / 1.066 GB, free: 12.03 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)