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.001309/0.001309, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001381/0.001381, allocations: 192 kB / 22.23 MB, free: 5.105 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.373/1.373, allocations: 225.6 MB / 251 MB, free: 13.06 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.002523/0.002523, allocations: 295.5 kB / 306.5 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.213/1.213, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.002779/0.002779, allocations: 105.6 kB / 0.7309 GB, free: 38.71 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1643, allocations: 94.21 MB / 0.8229 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2182/0.3825, allocations: 188.3 MB / 1.007 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4088/0.7913, allocations: 13.2 MB / 1.02 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.7925, allocations: 47.69 kB / 1.02 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.7939, allocations: 445 kB / 1.02 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.797, allocations: 1.223 MB / 1.021 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.7989, allocations: 0.7436 MB / 1.022 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002611/0.8015, allocations: 2.067 MB / 1.024 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009026/0.8024, allocations: 0.6217 MB / 1.025 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.8063, allocations: 1.911 MB / 1.026 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.8079, allocations: 0.7176 MB / 1.027 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.8081, allocations: 80.84 kB / 1.027 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.8098, allocations: 0.9357 MB / 1.028 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.8102, allocations: 396.1 kB / 1.029 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.8107, allocations: 0.5 MB / 1.029 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.8129, allocations: 1.508 MB / 1.031 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8129, allocations: 0 / 1.031 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8129, allocations: 1.281 kB / 1.031 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.8129, allocations: 0.5312 kB / 1.031 GB, free: 3.379 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.001795/0.8147, allocations: 1.189 MB / 1.032 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8147, allocations: 9.969 kB / 1.032 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.8159, allocations: 223.3 kB / 1.032 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.8171, allocations: 0.6134 MB / 1.032 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.8171, allocations: 57.88 kB / 1.033 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.8173, allocations: 76.34 kB / 1.033 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.8185, allocations: 0.9365 MB / 1.034 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.8186, allocations: 4.688 kB / 1.034 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.8186, allocations: 36.91 kB / 1.034 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.8187, allocations: 27.81 kB / 1.034 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.8196, allocations: 0.619 MB / 1.034 GB, free: 2.191 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.004097/0.8237, allocations: 4.541 MB / 1.039 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.8243, allocations: 457.3 kB / 1.039 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.8245, allocations: 231 kB / 1.039 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.8247, allocations: 30.89 kB / 1.039 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.8247, allocations: 44.56 kB / 1.039 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.8247, allocations: 0.9375 kB / 1.039 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002196/0.8269, allocations: 1.542 MB / 1.041 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.827, allocations: 111.1 kB / 1.041 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/0.8276, allocations: 0.7126 MB / 1.042 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.8277, allocations: 42.52 kB / 1.042 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.8279, allocations: 421 kB / 1.042 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.828, allocations: 174.6 kB / 1.042 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.8281, allocations: 120.8 kB / 1.042 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8283, allocations: 330.3 kB / 1.043 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.8285, allocations: 185.2 kB / 1.043 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.8288, allocations: 418.4 kB / 1.043 GB, free: 13.2 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.001853/0.8307, allocations: 1.094 MB / 1.044 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8307, allocations: 5.125 kB / 1.044 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008238/0.8315, allocations: 0.6781 MB / 1.045 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8315, allocations: 11.84 kB / 1.045 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8315, allocations: 5.062 kB / 1.045 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.8316, allocations: 8.375 kB / 1.045 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.832, allocations: 126.9 kB / 1.045 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.832, allocations: 13.38 kB / 1.045 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.8325, allocations: 29.78 kB / 1.045 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.8325, allocations: 28.41 kB / 1.045 GB, free: 12.88 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.000299/0.8328, allocations: 276.3 kB / 1.046 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.833, allocations: 89.66 kB / 1.046 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.8331, allocations: 92.53 kB / 1.046 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.8331, allocations: 5.75 kB / 1.046 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.8331, allocations: 5.25 kB / 1.046 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006456/0.8338, allocations: 0.7094 MB / 1.046 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.8358, allocations: 1.62 MB / 1.048 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.8358, allocations: 6.094 kB / 1.048 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.8362, allocations: 101.5 kB / 1.048 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.8362, allocations: 7.906 kB / 1.048 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.8362, allocations: 17.28 kB / 1.048 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.8362, allocations: 6.969 kB / 1.048 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.8362, allocations: 7.656 kB / 1.048 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.8372, allocations: 0.8601 MB / 1.049 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.8374, allocations: 138.5 kB / 1.049 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.8375, allocations: 15.62 kB / 1.049 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.838, allocations: 24.64 kB / 1.049 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.838, allocations: 39.05 kB / 1.049 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.8381, allocations: 26.23 kB / 1.049 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004986/0.8386, allocations: 0.5057 MB / 1.05 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.8386, allocations: 2.172 kB / 1.05 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000634/0.8392, allocations: 201.8 kB / 1.05 GB, free: 11.22 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.0004259/0.8396, allocations: 204.1 kB / 1.05 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006045/0.8402, allocations: 460.7 kB / 1.051 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8402, allocations: 0 / 1.051 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.8405, allocations: 207.6 kB / 1.051 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.8422, allocations: 474.1 kB / 1.051 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.8445, allocations: 1.695 MB / 1.053 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.8451, allocations: 1.032 MB / 1.054 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005158/0.8456, allocations: 193.8 kB / 1.054 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.8458, allocations: 60.62 kB / 1.054 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of SimCode: time 3.31e-07/0.8458, allocations: 0.8438 kB / 1.054 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of Templates: time 0.02504/0.8708, allocations: 15.66 MB / 1.069 GB, free: 8.219 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.90322798397392] Failed to read output from testmodel.py, exit status != 0: 0.8779883841052651 0.888980271 0.07359902599999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa2c71bd7b0>