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.001574/0.001574, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001899/0.001899, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.002438/0.002438, allocations: 280.9 kB / 313.5 MB, free: 2.809 MB / 238.1 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 1.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 12.96 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 108.9 kB / 0.7408 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1701, allocations: 95.38 MB / 0.834 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.682/0.8521, allocations: 191.2 MB / 1.021 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01408/0.8662, allocations: 13.23 MB / 1.034 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.8678, allocations: 43.59 kB / 1.034 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.8692, allocations: 448.1 kB / 1.034 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.8724, allocations: 1.22 MB / 1.035 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.8742, allocations: 0.7397 MB / 1.036 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.8768, allocations: 2.073 MB / 1.038 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00085/0.8777, allocations: 0.6235 MB / 1.039 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.8817, allocations: 1.919 MB / 1.04 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.8835, allocations: 0.7219 MB / 1.041 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.8837, allocations: 78.38 kB / 1.041 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.8857, allocations: 0.9429 MB / 1.042 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.886, allocations: 394.4 kB / 1.043 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004989/0.8865, allocations: 0.4987 MB / 1.043 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.8885, allocations: 1.498 MB / 1.045 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8885, allocations: 0 / 1.045 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8885, allocations: 0.8438 kB / 1.045 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.8885, allocations: 0 / 1.045 GB, free: 2.535 MB / 0.7169 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.001671/0.8902, allocations: 1.193 MB / 1.046 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.8902, allocations: 9.281 kB / 1.046 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.8913, allocations: 224.6 kB / 1.046 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.8923, allocations: 0.6062 MB / 1.047 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.8924, allocations: 61.81 kB / 1.047 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.8925, allocations: 82.12 kB / 1.047 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.8936, allocations: 0.9367 MB / 1.048 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.8937, allocations: 0 / 1.048 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.8937, allocations: 33.12 kB / 1.048 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.8938, allocations: 35.44 kB / 1.048 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.8946, allocations: 0.6158 MB / 1.048 GB, free: 17.32 MB / 0.7325 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.004134/0.8987, allocations: 4.53 MB / 1.053 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.8994, allocations: 462.2 kB / 1.053 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.8997, allocations: 232.4 kB / 1.053 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.8998, allocations: 27.95 kB / 1.053 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.8999, allocations: 43.16 kB / 1.053 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.8999, allocations: 0 / 1.053 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00248/0.9023, allocations: 1.545 MB / 1.055 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.9024, allocations: 109.7 kB / 1.055 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/0.9031, allocations: 0.7127 MB / 1.056 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.9032, allocations: 39.39 kB / 1.056 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.9035, allocations: 422.1 kB / 1.056 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.9036, allocations: 169.8 kB / 1.056 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.9037, allocations: 118.8 kB / 1.056 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.9039, allocations: 331.7 kB / 1.057 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.9041, allocations: 184.7 kB / 1.057 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.9045, allocations: 416.1 kB / 1.057 GB, free: 12.32 MB / 0.7325 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.002023/0.9065, allocations: 1.107 MB / 1.058 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9065, allocations: 4.25 kB / 1.058 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009682/0.9075, allocations: 0.6741 MB / 1.059 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.9075, allocations: 13.75 kB / 1.059 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9075, allocations: 4.438 kB / 1.059 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.9076, allocations: 12.09 kB / 1.059 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.908, allocations: 128.2 kB / 1.059 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.908, allocations: 15.41 kB / 1.059 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.9085, allocations: 25.78 kB / 1.059 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.9086, allocations: 29.25 kB / 1.059 GB, free: 11.64 MB / 0.7325 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 (74): * Single equations (assignments): 74 * 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.0004075/0.909, allocations: 272.8 kB / 1.06 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.9091, allocations: 90.86 kB / 1.06 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.9093, allocations: 92.27 kB / 1.06 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9093, allocations: 3.656 kB / 1.06 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.9093, allocations: 7.578 kB / 1.06 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007618/0.9101, allocations: 0.7031 MB / 1.06 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.9125, allocations: 1.606 MB / 1.062 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.9125, allocations: 5.812 kB / 1.062 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.9129, allocations: 106.8 kB / 1.062 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.9129, allocations: 6.719 kB / 1.062 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.9129, allocations: 21.17 kB / 1.062 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.9129, allocations: 9.328 kB / 1.062 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9129, allocations: 6 kB / 1.062 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.914, allocations: 0.8717 MB / 1.063 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.9143, allocations: 132.7 kB / 1.063 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.9144, allocations: 16.11 kB / 1.063 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.9148, allocations: 20.23 kB / 1.063 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.9149, allocations: 40.38 kB / 1.063 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.9149, allocations: 19.97 kB / 1.063 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006032/0.9155, allocations: 0.5146 MB / 1.064 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9155, allocations: 0 / 1.064 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007386/0.9163, allocations: 200.3 kB / 1.064 GB, free: 9.004 MB / 0.7325 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 (45): * Single equations (assignments): 45 * 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.0004304/0.9167, allocations: 181.2 kB / 1.064 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008036/0.9175, allocations: 456.7 kB / 1.064 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9175, allocations: 7.156 kB / 1.064 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.9178, allocations: 205 kB / 1.065 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.9197, allocations: 482.2 kB / 1.065 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.9224, allocations: 1.751 MB / 1.067 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/0.9231, allocations: 1.021 MB / 1.068 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.9233, allocations: 70.66 kB / 1.068 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.9233, allocations: 0 / 1.068 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of Templates: time 0.02101/0.9443, allocations: 13.02 MB / 1.081 GB, free: 0.7617 MB / 0.7325 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.507831356022507] Failed to read output from testmodel.py, exit status != 0: 0.9518738379701972 0.967293628 0.075387521 Calling exit ...