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.0007981/0.000798, allocations: 84.38 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.000799/0.000799, 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 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.418 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.471/2.471, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.00035, allocations: 11.94 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7567, allocations: 142.4 MB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04579/0.8025, allocations: 45.78 MB / 0.9991 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.8205, allocations: 11.92 MB / 1.011 GB, free: 5.695 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.8232, allocations: 67.5 kB / 1.011 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.8251, allocations: 0.5433 MB / 1.011 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.8292, allocations: 1.453 MB / 1.013 GB, free: 3.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.8324, allocations: 1.057 MB / 1.014 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.8368, allocations: 3.739 MB / 1.017 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.8382, allocations: 0.9096 MB / 1.018 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.8402, allocations: 1.03 MB / 1.019 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.8414, allocations: 0.8241 MB / 1.02 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.8415, allocations: 40 kB / 1.02 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.8434, allocations: 0.7405 MB / 1.021 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.8436, allocations: 210.9 kB / 1.021 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.8439, allocations: 277 kB / 1.021 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.8455, allocations: 1.385 MB / 1.023 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8455, allocations: 3.938 kB / 1.023 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8455, allocations: 0 / 1.023 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.8455, allocations: 0 / 1.023 GB, free: 9.371 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.002278/0.8478, allocations: 1.491 MB / 1.024 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.8479, allocations: 12.5 kB / 1.024 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005462/0.8484, allocations: 226.1 kB / 1.024 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.8502, allocations: 1.037 MB / 1.025 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.8506, allocations: 137.9 kB / 1.026 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.881e-05/0.8507, allocations: 84 kB / 1.026 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.8524, allocations: 1 MB / 1.027 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.8524, allocations: 3.953 kB / 1.027 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.8525, allocations: 32 kB / 1.027 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.8525, allocations: 24 kB / 1.027 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.854, allocations: 0.6868 MB / 1.027 GB, free: 4.469 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.004792/0.8588, allocations: 4.45 MB / 1.032 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.8599, allocations: 442.4 kB / 1.032 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.8604, allocations: 236.7 kB / 1.032 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/0.8613, allocations: 1.148 MB / 1.033 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.8613, allocations: 42.5 kB / 1.034 GB, free: 13.63 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.856e-06/0.8613, allocations: 0 / 1.034 GB, free: 13.63 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002679/0.864, allocations: 1.147 MB / 1.035 GB, free: 12.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.8641, allocations: 55.41 kB / 1.035 GB, free: 12.35 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.8651, allocations: 0.9317 MB / 1.036 GB, free: 11.4 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.8652, allocations: 37.64 kB / 1.036 GB, free: 11.36 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.8656, allocations: 0.5735 MB / 1.036 GB, free: 10.78 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.309e-05/0.8657, allocations: 106.5 kB / 1.036 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.8658, allocations: 8 kB / 1.036 GB, free: 10.67 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8659, allocations: 325.9 kB / 1.037 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.8664, allocations: 217 kB / 1.037 GB, free: 10.13 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.867, allocations: 394.9 kB / 1.037 GB, free: 9.668 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.8676, allocations: 249.8 kB / 1.037 GB, free: 9.426 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.8676, allocations: 7.938 kB / 1.037 GB, free: 9.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001498/0.8691, allocations: 0.7601 MB / 1.038 GB, free: 8.641 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.8692, allocations: 9.562 kB / 1.038 GB, free: 8.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.8692, allocations: 11.98 kB / 1.038 GB, free: 8.621 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.8698, allocations: 155 kB / 1.038 GB, free: 8.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.8704, allocations: 159.8 kB / 1.039 GB, free: 8.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.8715, allocations: 1.727 MB / 1.04 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.8722, allocations: 127.4 kB / 1.04 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.8723, allocations: 20 kB / 1.04 GB, free: 6.355 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.0004573/0.8728, allocations: 269.4 kB / 1.041 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.8729, allocations: 106.7 kB / 1.041 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.8746, allocations: 0.7663 MB / 1.041 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.8746, allocations: 8 kB / 1.041 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8746, allocations: 0 / 1.041 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8747, allocations: 0 / 1.041 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.8774, allocations: 1.669 MB / 1.043 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.8774, allocations: 4 kB / 1.043 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.8779, allocations: 108 kB / 1.043 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.8784, allocations: 150.5 kB / 1.043 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.8784, allocations: 11.98 kB / 1.043 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.8795, allocations: 1.712 MB / 1.045 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8795, allocations: 4.031 kB / 1.045 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.881, allocations: 0.8115 MB / 1.046 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.8815, allocations: 247.5 kB / 1.046 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.8817, allocations: 12.06 kB / 1.046 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.8824, allocations: 103.8 kB / 1.046 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.8825, allocations: 28.19 kB / 1.046 GB, free: 112 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.8826, allocations: 19.97 kB / 1.046 GB, free: 92 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009736/0.8835, allocations: 0.6225 MB / 1.047 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.9e-07/0.8836, allocations: 4 kB / 1.047 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001202/0.8848, allocations: 359.1 kB / 1.047 GB, free: 15.11 MB / 0.8106 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.0009689/0.8857, allocations: 363.7 kB / 1.048 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.8874, allocations: 0.571 MB / 1.048 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8874, allocations: 3.938 kB / 1.048 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008185/0.8882, allocations: 308 kB / 1.048 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.8906, allocations: 0.502 MB / 1.049 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.8941, allocations: 2.221 MB / 1.051 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007509/0.8949, allocations: 1.099 MB / 1.052 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000752/0.8956, allocations: 183.9 kB / 1.052 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.8958, allocations: 71.42 kB / 1.052 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.8958, allocations: 0 / 1.052 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of Templates: time 0.03333/0.9291, allocations: 18.55 MB / 1.07 GB, free: 7.449 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)