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.001942/0.001942, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.00216/0.00216, allocations: 156.9 kB / 23.01 MB, free: 4.961 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.002495/0.002495, allocations: 238 kB / 260 MB, free: 424 kB / 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 0.9191/0.9191, allocations: 138.5 MB / 455 MB, free: 15.06 MB / 430.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.00321/0.00321, allocations: 103.8 kB / 0.6474 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4264, allocations: 95.35 MB / 0.7405 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2047/0.631, allocations: 165.6 MB / 0.9022 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.647, allocations: 12.02 MB / 0.9139 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.6478, allocations: 43.62 kB / 0.914 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.649, allocations: 425.2 kB / 0.9144 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.6517, allocations: 1.206 MB / 0.9155 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.6535, allocations: 0.7325 MB / 0.9163 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00251/0.656, allocations: 2.055 MB / 0.9183 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009449/0.6569, allocations: 0.6099 MB / 0.9189 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.6611, allocations: 1.864 MB / 0.9207 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.6628, allocations: 0.6903 MB / 0.9214 GB, free: 9 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.6629, allocations: 80 kB / 0.9214 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.6646, allocations: 0.7364 MB / 0.9221 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.665, allocations: 394.8 kB / 0.9225 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005156/0.6655, allocations: 414.2 kB / 0.9229 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.6676, allocations: 1.498 MB / 0.9244 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6676, allocations: 0 / 0.9244 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6676, allocations: 0 / 0.9244 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.6676, allocations: 0 / 0.9244 GB, free: 5.887 MB / 0.7481 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.001877/0.6695, allocations: 1.182 MB / 0.9255 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6695, allocations: 12.75 kB / 0.9255 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6707, allocations: 223.1 kB / 0.9258 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.6719, allocations: 0.6155 MB / 0.9264 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.672, allocations: 58 kB / 0.9264 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6721, allocations: 75.98 kB / 0.9265 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.6735, allocations: 1.058 MB / 0.9275 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.6736, allocations: 3.938 kB / 0.9275 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-05/0.6736, allocations: 35.94 kB / 0.9276 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.6737, allocations: 29.31 kB / 0.9276 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6747, allocations: 0.6177 MB / 0.9282 GB, free: 1.812 MB / 0.7481 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.003983/0.6787, allocations: 3.603 MB / 0.9317 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.6795, allocations: 453.8 kB / 0.9321 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.6798, allocations: 231.7 kB / 0.9324 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.68, allocations: 24.67 kB / 0.9324 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.68, allocations: 38.56 kB / 0.9324 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.68, allocations: 4 kB / 0.9324 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002714/0.6827, allocations: 1.523 MB / 0.9339 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.6828, allocations: 110.8 kB / 0.934 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.6834, allocations: 0.5341 MB / 0.9345 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.6835, allocations: 37.7 kB / 0.9346 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.6838, allocations: 447.9 kB / 0.935 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.6839, allocations: 166.6 kB / 0.9352 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.6841, allocations: 126.2 kB / 0.9353 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.6843, allocations: 370.8 kB / 0.9356 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.6846, allocations: 185.2 kB / 0.9358 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.6852, allocations: 0.5618 MB / 0.9364 GB, free: 9.039 MB / 0.7637 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.002305/0.6875, allocations: 1.101 MB / 0.9374 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6875, allocations: 0 / 0.9374 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001031/0.6885, allocations: 0.6607 MB / 0.9381 GB, free: 7.184 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6885, allocations: 8 kB / 0.9381 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.6886, allocations: 16 kB / 0.9381 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.6886, allocations: 8 kB / 0.9381 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.6891, allocations: 131.8 kB / 0.9382 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.6891, allocations: 11.98 kB / 0.9383 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.6896, allocations: 23.98 kB / 0.9383 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.6896, allocations: 28 kB / 0.9383 GB, free: 6.961 MB / 0.7637 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.0003653/0.69, allocations: 277.5 kB / 0.9386 GB, free: 6.68 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.6901, allocations: 67.58 kB / 0.9386 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.6903, allocations: 78.19 kB / 0.9387 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6903, allocations: 11.94 kB / 0.9387 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6903, allocations: 0 / 0.9387 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007787/0.6911, allocations: 0.6989 MB / 0.9394 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.6934, allocations: 1.44 MB / 0.9408 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.6934, allocations: 4 kB / 0.9408 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.6939, allocations: 99.83 kB / 0.9409 GB, free: 4.109 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6939, allocations: 8 kB / 0.9409 GB, free: 4.102 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.6939, allocations: 16 kB / 0.9409 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.6939, allocations: 11.92 kB / 0.9409 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.6939, allocations: 11.94 kB / 0.941 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.6951, allocations: 0.8493 MB / 0.9418 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.6953, allocations: 111.5 kB / 0.9419 GB, free: 3.047 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.6954, allocations: 15.98 kB / 0.9419 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.6958, allocations: 24.55 kB / 0.9419 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.6959, allocations: 39.88 kB / 0.942 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.6959, allocations: 23.94 kB / 0.942 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004333/0.6964, allocations: 366.8 kB / 0.9423 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.6964, allocations: 0 / 0.9423 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007323/0.6971, allocations: 195.9 kB / 0.9425 GB, free: 2.398 MB / 0.7637 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.0004009/0.6975, allocations: 188.5 kB / 0.9427 GB, free: 2.211 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007775/0.6983, allocations: 456.8 kB / 0.9431 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6983, allocations: 448 / 0.9431 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.6986, allocations: 207.8 kB / 0.9433 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.7001, allocations: 347.3 kB / 0.9437 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.7025, allocations: 1.65 MB / 0.9453 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.703, allocations: 440.1 kB / 0.9457 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004699/0.7035, allocations: 173.3 kB / 0.9459 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.7036, allocations: 56.5 kB / 0.9459 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7036, allocations: 0 / 0.9459 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.02166/0.7253, allocations: 11.96 MB / 0.9576 GB, free: 3.258 MB / 0.7794 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.506289720069617] Failed to read output from testmodel.py, exit status != 0: 0.7340115869883448 0.7477232899999999 0.07704615999999995 Calling exit ...