Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0008972/0.0008972, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 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.000909/0.000909, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9845/0.9845, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.001787/0.001787, allocations: 239.5 kB / 261.3 MB, free: 12.64 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.7412/0.7412, allocations: 138.4 MB / 456.3 MB, free: 30.09 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5564 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.191e-05, allocations: 10.48 kB / 0.5564 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4018/0.4019, allocations: 146.8 MB / 0.6997 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004933/0.4068, allocations: 3.208 MB / 0.7029 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.4075, allocations: 44.25 kB / 0.7029 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.4082, allocations: 257.5 kB / 0.7032 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.4097, allocations: 0.8866 MB / 0.704 GB, free: 50.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.4109, allocations: 0.6957 MB / 0.7047 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.4129, allocations: 2.023 MB / 0.7067 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.4137, allocations: 0.6334 MB / 0.7073 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.4156, allocations: 1.141 MB / 0.7084 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.4164, allocations: 0.6058 MB / 0.709 GB, free: 49.28 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4166, allocations: 83.16 kB / 0.7091 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.4173, allocations: 388.5 kB / 0.7094 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.4176, allocations: 416.7 kB / 0.7098 GB, free: 49.03 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.418, allocations: 355.2 kB / 0.7102 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.4193, allocations: 0.9587 MB / 0.7111 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4193, allocations: 0 / 0.7111 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4193, allocations: 1.375 kB / 0.7111 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.4193, allocations: 0 / 0.7111 GB, free: 48.56 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001286/0.4206, allocations: 1.26 MB / 0.7123 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4207, allocations: 9.219 kB / 0.7124 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/0.4215, allocations: 283 kB / 0.7126 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.4222, allocations: 0.6124 MB / 0.7132 GB, free: 47.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.4222, allocations: 58 kB / 0.7133 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/0.4223, allocations: 83.39 kB / 0.7134 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.4229, allocations: 0.825 MB / 0.7142 GB, free: 46.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4229, allocations: 3.062 kB / 0.7142 GB, free: 46.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.423, allocations: 36.62 kB / 0.7142 GB, free: 46.56 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.423, allocations: 34.22 kB / 0.7142 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.4234, allocations: 245.9 kB / 0.7145 GB, free: 46.52 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.002143/0.4255, allocations: 4.645 MB / 0.719 GB, free: 42.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4258, allocations: 289.1 kB / 0.7193 GB, free: 42.47 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.4259, allocations: 111.8 kB / 0.7194 GB, free: 42.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-05/0.426, allocations: 29.8 kB / 0.7194 GB, free: 42.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.426, allocations: 47.72 kB / 0.7195 GB, free: 42.37 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 2.354e-06/0.426, allocations: 0 / 0.7195 GB, free: 42.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=44): time 0.001098/0.4271, allocations: 0.7053 MB / 0.7202 GB, free: 42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.4271, allocations: 113.1 kB / 0.7203 GB, free: 41.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.4274, allocations: 0.536 MB / 0.7208 GB, free: 41.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.4275, allocations: 39.33 kB / 0.7208 GB, free: 41.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.4276, allocations: 496.7 kB / 0.7213 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.4277, allocations: 169.1 kB / 0.7215 GB, free: 41.13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4278, allocations: 125.3 kB / 0.7216 GB, free: 41.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.4279, allocations: 0.5497 MB / 0.7221 GB, free: 40.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.428, allocations: 56.42 kB / 0.7222 GB, free: 40.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4281, allocations: 491.9 kB / 0.7226 GB, free: 40.05 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.4286, allocations: 0.5625 MB / 0.7232 GB, free: 39.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4286, allocations: 2 kB / 0.7232 GB, free: 39.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004111/0.429, allocations: 442.3 kB / 0.7236 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.429, allocations: 5.844 kB / 0.7236 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4291, allocations: 7.969 kB / 0.7236 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4291, allocations: 8.5 kB / 0.7236 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.4293, allocations: 123.6 kB / 0.7237 GB, free: 39.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4293, allocations: 11.59 kB / 0.7238 GB, free: 39.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4296, allocations: 22.78 kB / 0.7238 GB, free: 39.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.4296, allocations: 25.8 kB / 0.7238 GB, free: 39.41 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.4297, allocations: 203.3 kB / 0.724 GB, free: 39.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/0.4298, allocations: 86.27 kB / 0.7241 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/0.4299, allocations: 75.28 kB / 0.7242 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4299, allocations: 9.344 kB / 0.7242 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4299, allocations: 0 / 0.7242 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002301/0.4301, allocations: 0.5157 MB / 0.7247 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.4311, allocations: 1.247 MB / 0.7259 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4311, allocations: 7.094 kB / 0.7259 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.4314, allocations: 101.3 kB / 0.726 GB, free: 37.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4314, allocations: 5.781 kB / 0.726 GB, free: 37.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4314, allocations: 13.12 kB / 0.726 GB, free: 37.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4314, allocations: 6.531 kB / 0.726 GB, free: 37.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4314, allocations: 11.66 kB / 0.726 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.4319, allocations: 0.6271 MB / 0.7266 GB, free: 37.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.432, allocations: 105.7 kB / 0.7267 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.432, allocations: 16.25 kB / 0.7268 GB, free: 37.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.4322, allocations: 11.97 kB / 0.7268 GB, free: 37.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.4323, allocations: 46.31 kB / 0.7268 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.4323, allocations: 11.19 kB / 0.7268 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001733/0.4325, allocations: 328.3 kB / 0.7271 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4325, allocations: 4 kB / 0.7271 GB, free: 37.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005107/0.433, allocations: 202.2 kB / 0.7273 GB, free: 37.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003309/0.4333, allocations: 173.5 kB / 0.7275 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.4336, allocations: 261.3 kB / 0.7277 GB, free: 36.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4336, allocations: 1.562 kB / 0.7277 GB, free: 36.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4337, allocations: 124 kB / 0.7279 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.4346, allocations: 347.2 kB / 0.7282 GB, free: 36.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.4362, allocations: 1.484 MB / 0.7296 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.4364, allocations: 210.4 kB / 0.7298 GB, free: 35.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000309/0.4367, allocations: 96.03 kB / 0.7299 GB, free: 35.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.4371, allocations: 335.1 kB / 0.7303 GB, free: 35.57 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/0.4371, allocations: 0 / 0.7303 GB, free: 35.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.01485/0.452, allocations: 13.1 MB / 0.743 GB, free: 29.68 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.217947293072939]