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.001674/0.001674, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002082/0.002082, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002651/0.002651, allocations: 291.8 kB / 313.5 MB, free: 2.598 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.296/1.296, allocations: 180.6 MB / 0.5377 GB, free: 14.37 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.00294/0.00294, allocations: 101.7 kB / 0.7407 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1914, allocations: 95.39 MB / 0.8339 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7206/0.9119, allocations: 165.6 MB / 0.9956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.9273, allocations: 12.02 MB / 1.007 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.9288, allocations: 43.38 kB / 1.007 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.9301, allocations: 429.4 kB / 1.008 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.9334, allocations: 1.201 MB / 1.009 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.9355, allocations: 0.7269 MB / 1.01 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002884/0.9384, allocations: 2.056 MB / 1.012 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008996/0.9393, allocations: 0.6177 MB / 1.012 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004346/0.9436, allocations: 1.863 MB / 1.014 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.9456, allocations: 0.6813 MB / 1.015 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.9458, allocations: 82.39 kB / 1.015 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.9477, allocations: 0.7358 MB / 1.016 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004238/0.9481, allocations: 393.3 kB / 1.016 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.9486, allocations: 419.3 kB / 1.016 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.9506, allocations: 1.489 MB / 1.018 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9506, allocations: 0 / 1.018 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9506, allocations: 0 / 1.018 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.9506, allocations: 2.656 kB / 1.018 GB, free: 3.465 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.001787/0.9524, allocations: 1.195 MB / 1.019 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.9524, allocations: 13.94 kB / 1.019 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.9535, allocations: 219.9 kB / 1.019 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.9546, allocations: 0.6062 MB / 1.02 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.9546, allocations: 60.12 kB / 1.02 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.9548, allocations: 82.23 kB / 1.02 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.956, allocations: 1.055 MB / 1.021 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.956, allocations: 5.531 kB / 1.021 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.9561, allocations: 38.34 kB / 1.021 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.9562, allocations: 31.3 kB / 1.021 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008646/0.957, allocations: 0.6138 MB / 1.022 GB, free: 18.1 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.003832/0.9609, allocations: 3.581 MB / 1.025 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.9615, allocations: 465.2 kB / 1.026 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.9618, allocations: 233.3 kB / 1.026 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.9619, allocations: 25.28 kB / 1.026 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.962, allocations: 40.91 kB / 1.026 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.962, allocations: 0 / 1.026 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002366/0.9643, allocations: 1.533 MB / 1.027 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.9644, allocations: 107.8 kB / 1.027 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.9649, allocations: 0.5357 MB / 1.028 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.965, allocations: 35.83 kB / 1.028 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.9652, allocations: 436.3 kB / 1.028 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.9653, allocations: 174.9 kB / 1.029 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.9655, allocations: 117.8 kB / 1.029 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.9657, allocations: 378.2 kB / 1.029 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.9659, allocations: 183.2 kB / 1.029 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.9664, allocations: 0.5629 MB / 1.03 GB, free: 13.68 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.001826/0.9682, allocations: 1.097 MB / 1.031 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9682, allocations: 3.406 kB / 1.031 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008292/0.969, allocations: 0.6629 MB / 1.031 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.969, allocations: 10.06 kB / 1.031 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.9691, allocations: 14.69 kB / 1.032 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.9691, allocations: 10.09 kB / 1.032 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.9695, allocations: 124.8 kB / 1.032 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.9695, allocations: 14.72 kB / 1.032 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.97, allocations: 27.27 kB / 1.032 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.97, allocations: 30.03 kB / 1.032 GB, free: 13.36 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.0003645/0.9704, allocations: 274.1 kB / 1.032 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.9705, allocations: 69.3 kB / 1.032 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.9707, allocations: 81.83 kB / 1.032 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.9707, allocations: 9.875 kB / 1.032 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.9707, allocations: 0 / 1.032 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007593/0.9714, allocations: 0.7009 MB / 1.033 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.9736, allocations: 1.44 MB / 1.034 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.9736, allocations: 5.906 kB / 1.034 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.974, allocations: 97.98 kB / 1.034 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.974, allocations: 6.125 kB / 1.034 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.974, allocations: 17.98 kB / 1.034 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.974, allocations: 11.22 kB / 1.034 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.974, allocations: 9.188 kB / 1.034 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009444/0.975, allocations: 0.8498 MB / 1.035 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.9752, allocations: 113 kB / 1.035 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/0.9753, allocations: 19.47 kB / 1.035 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.9757, allocations: 26.39 kB / 1.035 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.9757, allocations: 35.38 kB / 1.035 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.9758, allocations: 23.06 kB / 1.035 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003755/0.9761, allocations: 367.2 kB / 1.036 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9761, allocations: 0 / 1.036 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007012/0.9768, allocations: 200.8 kB / 1.036 GB, free: 11.77 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.0004921/0.9773, allocations: 181.9 kB / 1.036 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006669/0.978, allocations: 459.2 kB / 1.037 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.978, allocations: 6.844 kB / 1.037 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.9782, allocations: 208.2 kB / 1.037 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.9796, allocations: 341.6 kB / 1.037 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.9821, allocations: 1.723 MB / 1.039 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.9825, allocations: 436.5 kB / 1.039 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.9826, allocations: 54.81 kB / 1.039 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.9826, allocations: 0.875 kB / 1.039 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.01716/0.9998, allocations: 11.49 MB / 1.05 GB, free: 9.207 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.093724587000906] Failed to read output from testmodel.py, exit status != 0: 1.0077920160256326 1.021020478 0.06727382400000001 Calling exit ...