Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 13.84 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6468/0.8548, allocations: 155.8 MB / 0.9392 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.8698, allocations: 10.88 MB / 0.9498 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.8715, allocations: 24.91 kB / 0.9499 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.8732, allocations: 433.5 kB / 0.9503 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.8772, allocations: 1.035 MB / 0.9513 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.8801, allocations: 0.8193 MB / 0.9521 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.8824, allocations: 1.148 MB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009344/0.8833, allocations: 0.6134 MB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.8872, allocations: 1.21 MB / 0.955 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.8884, allocations: 426.4 kB / 0.9554 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.8886, allocations: 34.47 kB / 0.9554 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.8903, allocations: 413 kB / 0.9558 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.8907, allocations: 310.7 kB / 0.9561 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006765/0.8914, allocations: 207.6 kB / 0.9563 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.8928, allocations: 0.9883 MB / 0.9573 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8928, allocations: 0 / 0.9573 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8929, allocations: 0 / 0.9573 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.8929, allocations: 0 / 0.9573 GB, free: 20.97 MB / 0.7325 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.00195/0.8948, allocations: 1.049 MB / 0.9583 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.8949, allocations: 9.062 kB / 0.9583 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.8961, allocations: 209.7 kB / 0.9585 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.8972, allocations: 0.6189 MB / 0.9591 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.8973, allocations: 56.66 kB / 0.9592 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.8974, allocations: 80.33 kB / 0.9593 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.8988, allocations: 0.9199 MB / 0.9602 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.8988, allocations: 1.938 kB / 0.9602 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/0.8989, allocations: 36.45 kB / 0.9602 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/0.899, allocations: 32.5 kB / 0.9602 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.9, allocations: 0.6066 MB / 0.9608 GB, free: 19.69 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.004526/0.9045, allocations: 4.59 MB / 0.9653 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.9053, allocations: 0.5314 MB / 0.9658 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.971e-05/0.9053, allocations: 17.58 kB / 0.9658 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.9054, allocations: 40.88 kB / 0.9659 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.9054, allocations: 4 kB / 0.9659 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002808/0.9082, allocations: 1.57 MB / 0.9674 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.9083, allocations: 110.2 kB / 0.9675 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.9091, allocations: 0.7057 MB / 0.9682 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.9092, allocations: 39.2 kB / 0.9682 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.9095, allocations: 414.6 kB / 0.9686 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.9096, allocations: 161.4 kB / 0.9688 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.9096, allocations: 12.47 kB / 0.9688 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.9098, allocations: 389.7 kB / 0.9692 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.9101, allocations: 183.8 kB / 0.9693 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.9105, allocations: 417.5 kB / 0.9697 GB, free: 14.53 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.001444/0.912, allocations: 0.6659 MB / 0.9704 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.912, allocations: 3.219 kB / 0.9704 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008874/0.9129, allocations: 0.6613 MB / 0.971 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9129, allocations: 8.062 kB / 0.9711 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9129, allocations: 7.844 kB / 0.9711 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.913, allocations: 15.56 kB / 0.9711 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.9134, allocations: 133.4 kB / 0.9712 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.9134, allocations: 14.14 kB / 0.9712 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.914, allocations: 49.34 kB / 0.9713 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.9141, allocations: 33.84 kB / 0.9713 GB, free: 14.3 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003569/0.9145, allocations: 278.4 kB / 0.9716 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.9146, allocations: 77.22 kB / 0.9716 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.9147, allocations: 91.17 kB / 0.9717 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9147, allocations: 6.281 kB / 0.9717 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.9148, allocations: 0 / 0.9717 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006257/0.9154, allocations: 0.6996 MB / 0.9724 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.9176, allocations: 1.632 MB / 0.974 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9176, allocations: 5.688 kB / 0.974 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.918, allocations: 107.4 kB / 0.9741 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.918, allocations: 6.781 kB / 0.9741 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.9181, allocations: 16.73 kB / 0.9741 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.9181, allocations: 12.48 kB / 0.9741 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9181, allocations: 2.969 kB / 0.9742 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.9192, allocations: 1.079 MB / 0.9752 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.9195, allocations: 203.7 kB / 0.9754 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.9196, allocations: 15.47 kB / 0.9754 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.9201, allocations: 39.94 kB / 0.9755 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.9201, allocations: 40.89 kB / 0.9755 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.9202, allocations: 19.41 kB / 0.9755 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005762/0.9208, allocations: 0.5019 MB / 0.976 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9208, allocations: 0 / 0.976 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007765/0.9216, allocations: 198.9 kB / 0.9762 GB, free: 12.24 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.U,vol.dynBal.mXi[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004382/0.922, allocations: 206.8 kB / 0.9764 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000652/0.9227, allocations: 472.7 kB / 0.9768 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9227, allocations: 5.984 kB / 0.9768 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.9229, allocations: 209.6 kB / 0.977 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.9247, allocations: 449.7 kB / 0.9775 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.927, allocations: 1.981 MB / 0.9794 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.9275, allocations: 1.045 MB / 0.9804 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006297/0.9282, allocations: 197.8 kB / 0.9806 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.9283, allocations: 61.88 kB / 0.9807 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of SimCode: time 4.5e-07/0.9283, allocations: 1.938 kB / 0.9807 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.02383/0.9522, allocations: 13.93 MB / 0.9943 GB, free: 3.688 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: