Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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_latest_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_latest_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.001194/0.001194, allocations: 100.1 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.001458/0.001458, 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.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 12 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6315, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04392/0.6754, allocations: 41.61 MB / 1.061 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.6926, allocations: 10.89 MB / 1.072 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.6949, allocations: 67.5 kB / 1.072 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.6978, allocations: 0.8511 MB / 1.073 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007041/0.7049, allocations: 2.363 MB / 1.075 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005412/0.7103, allocations: 2.03 MB / 1.077 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00376/0.7141, allocations: 2.059 MB / 1.079 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.7156, allocations: 0.9137 MB / 1.08 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.7175, allocations: 0.9262 MB / 1.081 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009921/0.7185, allocations: 0.5868 MB / 1.082 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.7187, allocations: 40 kB / 1.082 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.7207, allocations: 0.7957 MB / 1.082 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.721, allocations: 211 kB / 1.083 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.7214, allocations: 269 kB / 1.083 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.7233, allocations: 1.378 MB / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.7234, allocations: 0 / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7234, allocations: 0 / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.2e-05/0.7234, allocations: 4 kB / 1.084 GB, free: 15.95 MB / 0.8419 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.002575/0.726, allocations: 1.495 MB / 1.086 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.726, allocations: 8.031 kB / 1.086 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.7267, allocations: 218.1 kB / 1.086 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.7285, allocations: 0.9438 MB / 1.087 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/0.7289, allocations: 129.9 kB / 1.087 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.729, allocations: 87.95 kB / 1.087 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.731, allocations: 0.9962 MB / 1.088 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.731, allocations: 0 / 1.088 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/0.7311, allocations: 36 kB / 1.088 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.7311, allocations: 24 kB / 1.088 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.7328, allocations: 0.6868 MB / 1.089 GB, free: 11.16 MB / 0.8419 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.005536/0.7383, allocations: 4.481 MB / 1.093 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.7396, allocations: 434.6 kB / 1.094 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009282/0.7406, allocations: 1.144 MB / 1.095 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.7406, allocations: 38.56 kB / 1.095 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.816e-06/0.7406, allocations: 0 / 1.095 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.003052/0.7437, allocations: 1.14 MB / 1.096 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.7437, allocations: 55.41 kB / 1.096 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.745, allocations: 0.9863 MB / 1.097 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.7451, allocations: 37.64 kB / 1.097 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.7455, allocations: 0.5773 MB / 1.097 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.7457, allocations: 102.5 kB / 1.098 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.7457, allocations: 12 kB / 1.098 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7458, allocations: 326 kB / 1.098 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.7464, allocations: 209 kB / 1.098 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.7471, allocations: 394.9 kB / 1.098 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.7477, allocations: 265.2 kB / 1.099 GB, free: 284 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7477, allocations: 0 / 1.099 GB, free: 284 kB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001741/0.7495, allocations: 0.7643 MB / 1.099 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.7495, allocations: 13.52 kB / 1.099 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7495, allocations: 4 kB / 1.099 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/0.7502, allocations: 162.7 kB / 1.1 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.7509, allocations: 155.8 kB / 1.1 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.752, allocations: 1.716 MB / 1.101 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/0.7529, allocations: 115.4 kB / 1.102 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.753, allocations: 35.98 kB / 1.102 GB, free: 13.22 MB / 0.8575 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.0005223/0.7536, allocations: 265.6 kB / 1.102 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.7538, allocations: 110.8 kB / 1.102 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.7558, allocations: 0.7623 MB / 1.103 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.7559, allocations: 4 kB / 1.103 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.7559, allocations: 7.938 kB / 1.103 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.7559, allocations: 4 kB / 1.103 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.7591, allocations: 1.69 MB / 1.104 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.7592, allocations: 8.031 kB / 1.104 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.7597, allocations: 107.8 kB / 1.104 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005773/0.7603, allocations: 150.5 kB / 1.105 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.7603, allocations: 11.98 kB / 1.105 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.7614, allocations: 1.712 MB / 1.106 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.7614, allocations: 4.031 kB / 1.106 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.7631, allocations: 0.8987 MB / 1.107 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.7636, allocations: 255.5 kB / 1.107 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.7638, allocations: 8 kB / 1.107 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.7646, allocations: 95.75 kB / 1.108 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.7646, allocations: 27.91 kB / 1.108 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.7647, allocations: 28.05 kB / 1.108 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008918/0.7656, allocations: 0.6694 MB / 1.108 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7656, allocations: 0 / 1.108 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001071/0.7667, allocations: 379.1 kB / 1.109 GB, free: 5.754 MB / 0.8575 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.0007867/0.7675, allocations: 415.7 kB / 1.109 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.7692, allocations: 0.5712 MB / 1.11 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7692, allocations: 4 kB / 1.11 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008655/0.7701, allocations: 316 kB / 1.11 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.7724, allocations: 0.4941 MB / 1.11 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.7758, allocations: 2.197 MB / 1.112 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.7765, allocations: 1.13 MB / 1.114 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007318/0.7772, allocations: 187.6 kB / 1.114 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.7774, allocations: 67.42 kB / 1.114 GB, free: 332 kB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.7774, allocations: 0 / 1.114 GB, free: 332 kB / 0.8575 GB Notification: Performance of Templates: time 0.03241/0.8098, allocations: 19.62 MB / 1.133 GB, free: 12.96 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)