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.0008765/0.0008765, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001161/0.001161, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 1.031/1.031, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.001669/0.001669, allocations: 245.8 kB / 260.5 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.7331/0.7331, allocations: 138.4 MB / 455.5 MB, free: 1.391 MB / 362.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 2.484e-06/2.484e-06, allocations: 0 / 0.5556 GB, free: 212 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.139e-05, allocations: 2.312 kB / 0.5556 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3673/0.3673, allocations: 146.8 MB / 0.699 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004161/0.3715, allocations: 3.2 MB / 0.7021 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006527/0.3721, allocations: 43.62 kB / 0.7022 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.3729, allocations: 254 kB / 0.7024 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.3741, allocations: 0.8934 MB / 0.7033 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.3751, allocations: 0.6976 MB / 0.704 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.3766, allocations: 2.027 MB / 0.7059 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006642/0.3773, allocations: 0.6303 MB / 0.7065 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.3787, allocations: 1.128 MB / 0.7076 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.3793, allocations: 0.6154 MB / 0.7082 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.3794, allocations: 80 kB / 0.7083 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.3801, allocations: 383.1 kB / 0.7087 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.3804, allocations: 418.8 kB / 0.7091 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.3807, allocations: 347.3 kB / 0.7094 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3817, allocations: 0.9654 MB / 0.7104 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3817, allocations: 0 / 0.7104 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3817, allocations: 0 / 0.7104 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.3817, allocations: 0 / 0.7104 GB, free: 13.76 MB / 0.5261 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.001234/0.3829, allocations: 1.26 MB / 0.7116 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.383, allocations: 12.75 kB / 0.7116 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/0.3837, allocations: 283.9 kB / 0.7119 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.3844, allocations: 0.6075 MB / 0.7125 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.3844, allocations: 58.38 kB / 0.7125 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.3845, allocations: 83.89 kB / 0.7126 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.3851, allocations: 0.8281 MB / 0.7134 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3852, allocations: 3.984 kB / 0.7134 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.3852, allocations: 32 kB / 0.7134 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.3852, allocations: 29.31 kB / 0.7135 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.3855, allocations: 261.8 kB / 0.7137 GB, free: 10.11 MB / 0.5261 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.002723/0.3882, allocations: 4.629 MB / 0.7182 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.3886, allocations: 293.9 kB / 0.7185 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3887, allocations: 109.5 kB / 0.7186 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.3888, allocations: 29.19 kB / 0.7187 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3888, allocations: 45.66 kB / 0.7187 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.3888, allocations: 0 / 0.7187 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001143/0.39, allocations: 0.7112 MB / 0.7194 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.39, allocations: 114.6 kB / 0.7195 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.3904, allocations: 0.5381 MB / 0.72 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3904, allocations: 37.7 kB / 0.7201 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.3907, allocations: 494.6 kB / 0.7205 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3908, allocations: 170.6 kB / 0.7207 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3909, allocations: 123.9 kB / 0.7208 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.3911, allocations: 0.5585 MB / 0.7214 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.3912, allocations: 57.33 kB / 0.7214 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.3915, allocations: 485.5 kB / 0.7219 GB, free: 1.277 MB / 0.5261 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.0009904/0.3925, allocations: 0.5619 MB / 0.7224 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3925, allocations: 4 kB / 0.7224 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005898/0.3931, allocations: 436.3 kB / 0.7229 GB, free: 164 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3931, allocations: 8 kB / 0.7229 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3931, allocations: 8.5 kB / 0.7229 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3932, allocations: 8 kB / 0.7229 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.3934, allocations: 123.8 kB / 0.723 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3934, allocations: 20.06 kB / 0.723 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.3937, allocations: 24.77 kB / 0.723 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.3937, allocations: 24 kB / 0.7231 GB, free: 15.95 MB / 0.5417 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.0001846/0.3939, allocations: 208.2 kB / 0.7233 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.394, allocations: 83.58 kB / 0.7233 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.652e-05/0.3941, allocations: 74.25 kB / 0.7234 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3941, allocations: 4 kB / 0.7234 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3941, allocations: 0 / 0.7234 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005495/0.3946, allocations: 0.5086 MB / 0.7239 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.396, allocations: 1.25 MB / 0.7251 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.396, allocations: 7.984 kB / 0.7251 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.3963, allocations: 100.3 kB / 0.7252 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.3963, allocations: 12 kB / 0.7252 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3963, allocations: 16 kB / 0.7253 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3963, allocations: 4 kB / 0.7253 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3963, allocations: 8.562 kB / 0.7253 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.397, allocations: 0.6225 MB / 0.7259 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3971, allocations: 109.3 kB / 0.726 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.3972, allocations: 12 kB / 0.726 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3973, allocations: 19.94 kB / 0.726 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3974, allocations: 51.19 kB / 0.7261 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3974, allocations: 12 kB / 0.7261 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001864/0.3976, allocations: 330.6 kB / 0.7264 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3976, allocations: 0 / 0.7264 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004199/0.398, allocations: 199.9 kB / 0.7266 GB, free: 12.06 MB / 0.5417 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.000344/0.3984, allocations: 178.2 kB / 0.7267 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003102/0.3987, allocations: 254.7 kB / 0.727 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3987, allocations: 4.438 kB / 0.727 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3988, allocations: 127.3 kB / 0.7271 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/0.3996, allocations: 338.7 kB / 0.7274 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.4015, allocations: 1.48 MB / 0.7289 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4017, allocations: 206.4 kB / 0.7291 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000237/0.4019, allocations: 103.6 kB / 0.7292 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.4024, allocations: 333.9 kB / 0.7295 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/0.4024, allocations: 0 / 0.7295 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of Templates: time 0.01575/0.4181, allocations: 12.92 MB / 0.7421 GB, free: 12.5 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.209061744157225]