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.0009428/0.0009428, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009582/0.0009582, allocations: 173 kB / 23.5 MB, free: 1.055 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.002593/0.002593, allocations: 230.7 kB / 260.5 MB, free: 12.88 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.7228/0.7228, allocations: 138.4 MB / 455.4 MB, free: 1.551 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 1.853e-06/1.853e-06, allocations: 0 / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.186e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4168/0.4168, allocations: 184.3 MB / 0.735 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.4293, allocations: 13.43 MB / 0.7481 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4305, allocations: 43.62 kB / 0.7481 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.4316, allocations: 429 kB / 0.7486 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.4339, allocations: 1.24 MB / 0.7498 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.4351, allocations: 0.7752 MB / 0.7505 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.4373, allocations: 2.054 MB / 0.7525 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.4381, allocations: 0.6257 MB / 0.7531 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.4409, allocations: 2.106 MB / 0.7552 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009755/0.4418, allocations: 0.6416 MB / 0.7558 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.4419, allocations: 83.94 kB / 0.7559 GB, free: 15.27 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.443, allocations: 0.7439 MB / 0.7566 GB, free: 14.53 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.4433, allocations: 422.8 kB / 0.757 GB, free: 14.11 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.4436, allocations: 351.2 kB / 0.7574 GB, free: 13.77 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.4449, allocations: 1.137 MB / 0.7585 GB, free: 12.63 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4449, allocations: 0 / 0.7585 GB, free: 12.63 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4449, allocations: 0 / 0.7585 GB, free: 12.63 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.4449, allocations: 4 kB / 0.7585 GB, free: 12.62 MB / 0.573 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.001332/0.4462, allocations: 1.285 MB / 0.7597 GB, free: 11.3 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4462, allocations: 8.75 kB / 0.7597 GB, free: 11.29 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008163/0.4471, allocations: 294.9 kB / 0.76 GB, free: 11 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.4479, allocations: 0.6502 MB / 0.7607 GB, free: 10.32 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.4479, allocations: 58 kB / 0.7607 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/0.448, allocations: 79.98 kB / 0.7608 GB, free: 10.18 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.4488, allocations: 0.8617 MB / 0.7616 GB, free: 9.18 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4488, allocations: 0 / 0.7616 GB, free: 9.18 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.4488, allocations: 36 kB / 0.7617 GB, free: 9.145 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.4489, allocations: 25.31 kB / 0.7617 GB, free: 9.121 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.4493, allocations: 311.3 kB / 0.762 GB, free: 8.816 MB / 0.573 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.003127/0.4524, allocations: 4.636 MB / 0.7665 GB, free: 4.023 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.4529, allocations: 319.7 kB / 0.7668 GB, free: 3.68 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.453, allocations: 132.4 kB / 0.7669 GB, free: 3.539 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.872e-05/0.4531, allocations: 23.98 kB / 0.767 GB, free: 3.516 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4532, allocations: 49.11 kB / 0.767 GB, free: 3.457 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.4532, allocations: 0 / 0.767 GB, free: 3.457 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.001513/0.4547, allocations: 1.126 MB / 0.7681 GB, free: 2.293 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.4547, allocations: 110.8 kB / 0.7682 GB, free: 2.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.4551, allocations: 0.5492 MB / 0.7688 GB, free: 1.594 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4552, allocations: 37.7 kB / 0.7688 GB, free: 1.551 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.4554, allocations: 494.7 kB / 0.7693 GB, free: 1.059 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.4555, allocations: 174.5 kB / 0.7694 GB, free: 0.8867 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.4556, allocations: 127.9 kB / 0.7696 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4558, allocations: 0.5469 MB / 0.7701 GB, free: 200 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4559, allocations: 77.33 kB / 0.7702 GB, free: 124 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.4562, allocations: 0.5264 MB / 0.7707 GB, free: 15.43 MB / 0.5886 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.0006746/0.4569, allocations: 0.6162 MB / 0.7713 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4569, allocations: 0 / 0.7713 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005168/0.4574, allocations: 480.1 kB / 0.7717 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4574, allocations: 8 kB / 0.7717 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4574, allocations: 4 kB / 0.7717 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4574, allocations: 12 kB / 0.7718 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.4577, allocations: 123.8 kB / 0.7719 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.4577, allocations: 24.42 kB / 0.7719 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.4579, allocations: 24.61 kB / 0.7719 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.458, allocations: 24 kB / 0.7719 GB, free: 14 MB / 0.5886 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.0001642/0.4581, allocations: 205.4 kB / 0.7721 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.4582, allocations: 79.58 kB / 0.7722 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-05/0.4583, allocations: 78.19 kB / 0.7723 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4583, allocations: 4 kB / 0.7723 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4583, allocations: 4 kB / 0.7723 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006019/0.4589, allocations: 0.5348 MB / 0.7728 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.4602, allocations: 1.394 MB / 0.7742 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4602, allocations: 4 kB / 0.7742 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.4605, allocations: 100.4 kB / 0.7743 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4605, allocations: 15.98 kB / 0.7743 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4605, allocations: 15.98 kB / 0.7743 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4605, allocations: 8.688 kB / 0.7743 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4605, allocations: 4 kB / 0.7743 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.4611, allocations: 0.6675 MB / 0.775 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.4612, allocations: 111.5 kB / 0.7751 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.4613, allocations: 12 kB / 0.7751 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.4615, allocations: 20 kB / 0.7751 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.4615, allocations: 44.62 kB / 0.7752 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4615, allocations: 16 kB / 0.7752 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002406/0.4618, allocations: 346.8 kB / 0.7755 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.4618, allocations: 0 / 0.7755 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004796/0.4623, allocations: 204 kB / 0.7757 GB, free: 9.875 MB / 0.5886 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.0003574/0.4626, allocations: 176.8 kB / 0.7759 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.463, allocations: 304.2 kB / 0.7762 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.463, allocations: 4 kB / 0.7762 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4632, allocations: 138.6 kB / 0.7763 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009212/0.4641, allocations: 349.5 kB / 0.7766 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.466, allocations: 1.488 MB / 0.7781 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.4662, allocations: 208.4 kB / 0.7783 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.4666, allocations: 149.5 kB / 0.7784 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4667, allocations: 52.5 kB / 0.7785 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/0.4667, allocations: 0 / 0.7785 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of Templates: time 0.01517/0.4818, allocations: 12.06 MB / 0.7903 GB, free: 11.29 MB / 0.6042 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.374629902886227]