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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 194.2 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002358/0.002358, allocations: 286.3 kB / 307 MB, free: 8.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.187/1.187, allocations: 180.8 MB / 0.5304 GB, free: 14.58 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002729/0.002729, allocations: 103.1 kB / 0.7311 GB, free: 38.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1545, allocations: 94.2 MB / 0.8231 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2093/0.3638, allocations: 186.3 MB / 1.005 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4095/0.7733, allocations: 13.11 MB / 1.018 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.7743, allocations: 44.45 kB / 1.018 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.7756, allocations: 443.6 kB / 1.018 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.7783, allocations: 1.225 MB / 1.019 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.78, allocations: 0.7384 MB / 1.02 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002751/0.7828, allocations: 2.072 MB / 1.022 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/0.7837, allocations: 0.6199 MB / 1.023 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.7878, allocations: 1.913 MB / 1.025 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.7895, allocations: 0.7139 MB / 1.025 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.7897, allocations: 82.86 kB / 1.025 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.7914, allocations: 0.7489 MB / 1.026 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.7918, allocations: 395 kB / 1.027 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.7924, allocations: 0.4973 MB / 1.027 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.7944, allocations: 1.473 MB / 1.029 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7944, allocations: 2.234 kB / 1.029 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7944, allocations: 0.75 kB / 1.029 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.7945, allocations: 0 / 1.029 GB, free: 3.234 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.001879/0.7963, allocations: 1.19 MB / 1.03 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.7964, allocations: 9.875 kB / 1.03 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.7976, allocations: 217.1 kB / 1.03 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.7988, allocations: 0.6183 MB / 1.03 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.7989, allocations: 59.12 kB / 1.031 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.799, allocations: 78.59 kB / 1.031 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.8006, allocations: 1.059 MB / 1.032 GB, free: 17.89 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.8006, allocations: 6.219 kB / 1.032 GB, free: 17.89 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.8007, allocations: 38.97 kB / 1.032 GB, free: 17.89 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-05/0.8008, allocations: 28.41 kB / 1.032 GB, free: 17.89 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.8019, allocations: 0.6171 MB / 1.032 GB, free: 17.89 MB / 0.7637 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.004229/0.8061, allocations: 4.535 MB / 1.037 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.8068, allocations: 459.2 kB / 1.037 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.8071, allocations: 228.4 kB / 1.037 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.8073, allocations: 26.03 kB / 1.037 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.8073, allocations: 51.64 kB / 1.037 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 1.664e-06/0.8073, allocations: 0 / 1.037 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002358/0.8097, allocations: 1.541 MB / 1.039 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.8097, allocations: 112.5 kB / 1.039 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/0.8104, allocations: 0.7189 MB / 1.04 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.8105, allocations: 38.02 kB / 1.04 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.8107, allocations: 423.3 kB / 1.04 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.8108, allocations: 170.2 kB / 1.04 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.811, allocations: 119.6 kB / 1.041 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8111, allocations: 332.1 kB / 1.041 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.8114, allocations: 185.3 kB / 1.041 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.8118, allocations: 0.5557 MB / 1.042 GB, free: 12.71 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.001897/0.8137, allocations: 1.1 MB / 1.043 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8137, allocations: 2.969 kB / 1.043 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000825/0.8146, allocations: 0.675 MB / 1.043 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8146, allocations: 9.312 kB / 1.043 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.8146, allocations: 8.688 kB / 1.043 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.8146, allocations: 11.94 kB / 1.043 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.815, allocations: 131.6 kB / 1.043 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.815, allocations: 11.69 kB / 1.043 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.8156, allocations: 22.25 kB / 1.043 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.8156, allocations: 34.12 kB / 1.044 GB, free: 12.39 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.0003107/0.8159, allocations: 277.7 kB / 1.044 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.816, allocations: 84.39 kB / 1.044 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.8162, allocations: 90.94 kB / 1.044 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8162, allocations: 4.875 kB / 1.044 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.8162, allocations: 5.203 kB / 1.044 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006505/0.8169, allocations: 0.7038 MB / 1.045 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.819, allocations: 1.616 MB / 1.046 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.819, allocations: 10.22 kB / 1.046 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.8194, allocations: 100.2 kB / 1.046 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.8194, allocations: 5.594 kB / 1.046 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.8194, allocations: 19.47 kB / 1.046 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.8194, allocations: 11.66 kB / 1.046 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8194, allocations: 6.5 kB / 1.046 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009559/0.8204, allocations: 0.8603 MB / 1.047 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.8207, allocations: 138 kB / 1.047 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8208, allocations: 22.56 kB / 1.047 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.8212, allocations: 18.34 kB / 1.047 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.8213, allocations: 40.03 kB / 1.047 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.8213, allocations: 21.81 kB / 1.047 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005/0.8218, allocations: 0.5079 MB / 1.048 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.8218, allocations: 0 / 1.048 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006461/0.8224, allocations: 204.9 kB / 1.048 GB, free: 10.74 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.0004312/0.8229, allocations: 195.9 kB / 1.048 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006197/0.8235, allocations: 464.4 kB / 1.049 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8235, allocations: 0.9062 kB / 1.049 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.8237, allocations: 204.6 kB / 1.049 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.8257, allocations: 487.6 kB / 1.049 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.828, allocations: 1.684 MB / 1.051 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.8286, allocations: 1.026 MB / 1.052 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005263/0.8292, allocations: 204.4 kB / 1.052 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.8293, allocations: 64.84 kB / 1.052 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of SimCode: time 4.31e-07/0.8293, allocations: 0.875 kB / 1.052 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of Templates: time 0.02126/0.8506, allocations: 15.65 MB / 1.068 GB, free: 8.102 MB / 0.7637 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.744949779007584] Failed to read output from testmodel.py, exit status != 0: 0.8576696160016581 0.868190585 0.071363243 Calling exit ...