Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009368/0.0009368, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009246/0.0009246, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9352/0.9352, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001678/0.001678, allocations: 248 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7731/0.7731, allocations: 138.4 MB / 455.2 MB, free: 30.06 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.094e-05, allocations: 6.312 kB / 0.5551 GB, free: 132 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3538/0.3539, allocations: 150.9 MB / 0.7025 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006433/0.3603, allocations: 3.828 MB / 0.7062 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3617, allocations: 57.72 kB / 0.7063 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008592/0.3625, allocations: 297.2 kB / 0.7066 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.3654, allocations: 1.167 MB / 0.7077 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.3676, allocations: 0.8949 MB / 0.7086 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00343/0.371, allocations: 2.996 MB / 0.7115 GB, free: 48.33 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.3722, allocations: 0.8583 MB / 0.7124 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.3742, allocations: 1.344 MB / 0.7137 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.3758, allocations: 0.9524 MB / 0.7146 GB, free: 47.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.3761, allocations: 121.8 kB / 0.7147 GB, free: 47.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3771, allocations: 0.4995 MB / 0.7152 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.3776, allocations: 0.628 MB / 0.7158 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.3783, allocations: 0.5239 MB / 0.7163 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.3801, allocations: 1.388 MB / 0.7177 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3801, allocations: 0 / 0.7177 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3801, allocations: 0 / 0.7177 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.678e-05/0.3802, allocations: 0 / 0.7177 GB, free: 46.1 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.005125/0.3853, allocations: 1.634 MB / 0.7193 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3853, allocations: 9.344 kB / 0.7193 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.387, allocations: 451.7 kB / 0.7197 GB, free: 44.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3882, allocations: 0.8524 MB / 0.7206 GB, free: 44.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.3883, allocations: 76.33 kB / 0.7206 GB, free: 44.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3884, allocations: 110.7 kB / 0.7207 GB, free: 44.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3896, allocations: 1.129 MB / 0.7218 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.3896, allocations: 0 / 0.7218 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.3897, allocations: 40.75 kB / 0.7219 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/0.3897, allocations: 44.83 kB / 0.7219 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/0.3936, allocations: 405.3 kB / 0.7223 GB, free: 43.43 MB / 0.5573 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.007151/0.4008, allocations: 2.475 MB / 0.7247 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.4013, allocations: 338.1 kB / 0.725 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.4015, allocations: 149.2 kB / 0.7252 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.4016, allocations: 31.92 kB / 0.7252 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4017, allocations: 53.39 kB / 0.7253 GB, free: 41.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/0.4017, allocations: 0 / 0.7253 GB, free: 41.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55): time 0.00534/0.407, allocations: 1.182 MB / 0.7264 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.407, allocations: 61.56 kB / 0.7265 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.4076, allocations: 0.6588 MB / 0.7271 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.4076, allocations: 39.45 kB / 0.7272 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4079, allocations: 0.592 MB / 0.7277 GB, free: 40.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.408, allocations: 207.5 kB / 0.7279 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003173/0.4111, allocations: 136.8 kB / 0.7281 GB, free: 40.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4113, allocations: 0.5646 MB / 0.7286 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4114, allocations: 102.1 kB / 0.7287 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.4117, allocations: 348.8 kB / 0.729 GB, free: 39.33 MB / 0.5573 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009139/0.4126, allocations: 0.6707 MB / 0.7297 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4126, allocations: 0 / 0.7297 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007709/0.4134, allocations: 0.5736 MB / 0.7303 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4134, allocations: 9.5 kB / 0.7303 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4134, allocations: 6.812 kB / 0.7303 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.4136, allocations: 67.64 kB / 0.7303 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/0.417, allocations: 149.5 kB / 0.7305 GB, free: 38.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.4187, allocations: 5.264 MB / 0.7356 GB, free: 33.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.4192, allocations: 24.83 kB / 0.7357 GB, free: 33.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.4193, allocations: 30.56 kB / 0.7357 GB, free: 33.13 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.4195, allocations: 196.3 kB / 0.7359 GB, free: 32.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.4197, allocations: 113.6 kB / 0.736 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/0.4197, allocations: 91.88 kB / 0.7361 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.4197, allocations: 5.844 kB / 0.7361 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4197, allocations: 0 / 0.7361 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006509/0.4263, allocations: 478.5 kB / 0.7365 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.4281, allocations: 1.402 MB / 0.7379 GB, free: 31.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4281, allocations: 7.406 kB / 0.7379 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.4285, allocations: 135.1 kB / 0.738 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.665e-05/0.4286, allocations: 29.52 kB / 0.7381 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.4286, allocations: 14.31 kB / 0.7381 GB, free: 31.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006622/0.4352, allocations: 1.79 MB / 0.7398 GB, free: 29.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4352, allocations: 5.812 kB / 0.7398 GB, free: 29.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.436, allocations: 0.7628 MB / 0.7406 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.4363, allocations: 150.8 kB / 0.7407 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.4364, allocations: 20.98 kB / 0.7407 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.4368, allocations: 28.31 kB / 0.7408 GB, free: 28.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.4369, allocations: 48.89 kB / 0.7408 GB, free: 28.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.437, allocations: 31.86 kB / 0.7408 GB, free: 28.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003542/0.4373, allocations: 424 kB / 0.7412 GB, free: 28.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4373, allocations: 0 / 0.7412 GB, free: 28.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00688/0.4442, allocations: 300.9 kB / 0.7415 GB, free: 28.58 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002771/0.4445, allocations: 159.9 kB / 0.7417 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008374/0.4453, allocations: 0.8608 MB / 0.7425 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4453, allocations: 0 / 0.7425 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.4457, allocations: 351.8 kB / 0.7429 GB, free: 27.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.447, allocations: 0.5478 MB / 0.7434 GB, free: 27.28 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.4491, allocations: 1.835 MB / 0.7452 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.4493, allocations: 276.8 kB / 0.7454 GB, free: 25.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004978/0.4498, allocations: 190.6 kB / 0.7456 GB, free: 25.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.4499, allocations: 73.75 kB / 0.7457 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of SimCode: time 1.283e-06/0.4499, allocations: 0 / 0.7457 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.02171/0.4716, allocations: 19.66 MB / 0.7649 GB, free: 13.86 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.656531005632132]