Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001001/0.001001, allocations: 89.81 kB / 16.66 MB, free: 5.789 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.001102/0.001102, allocations: 179.1 kB / 17.58 MB, free: 5.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7428/0.7428, allocations: 115.5 MB / 408.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003438, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4216, allocations: 77.52 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1992/0.6208, allocations: 182.6 MB / 0.7389 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4103/1.031, allocations: 12.94 MB / 0.7515 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/1.033, allocations: 28.88 kB / 0.7515 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/1.034, allocations: 342.7 kB / 0.7519 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/1.038, allocations: 1.097 MB / 0.7529 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/1.04, allocations: 0.6294 MB / 0.7536 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004721/1.044, allocations: 2.771 MB / 0.7563 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/1.046, allocations: 0.7014 MB / 0.757 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004919/1.051, allocations: 1.623 MB / 0.7585 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/1.054, allocations: 0.66 MB / 0.7592 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/1.054, allocations: 34.47 kB / 0.7592 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/1.057, allocations: 0.9662 MB / 0.7602 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007008/1.057, allocations: 340.1 kB / 0.7605 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/1.059, allocations: 471.9 kB / 0.7609 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/1.061, allocations: 1.089 MB / 0.762 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.061, allocations: 2.859 kB / 0.762 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.806e-06/1.061, allocations: 0 / 0.762 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.894e-05/1.061, allocations: 4 kB / 0.762 GB, free: 17.79 MB / 0.5919 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.001923/1.063, allocations: 1.052 MB / 0.763 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.063, allocations: 12.39 kB / 0.763 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.065, allocations: 213.6 kB / 0.7632 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.066, allocations: 0.6407 MB / 0.7639 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/1.066, allocations: 58.69 kB / 0.7639 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/1.066, allocations: 80.38 kB / 0.764 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/1.067, allocations: 0.9297 MB / 0.7649 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/1.067, allocations: 8.516 kB / 0.7649 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/1.068, allocations: 32.06 kB / 0.7649 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/1.068, allocations: 34.23 kB / 0.765 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.069, allocations: 0.6153 MB / 0.7656 GB, free: 16.48 MB / 0.5919 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.004986/1.074, allocations: 4.598 MB / 0.7701 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/1.075, allocations: 0.5423 MB / 0.7706 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/1.075, allocations: 248.9 kB / 0.7708 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/1.075, allocations: 102.5 kB / 0.7709 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/1.075, allocations: 44.81 kB / 0.771 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/1.075, allocations: 4 kB / 0.771 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.003331/1.079, allocations: 1.588 MB / 0.7725 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/1.079, allocations: 111.7 kB / 0.7726 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.08, allocations: 0.7139 MB / 0.7733 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/1.08, allocations: 42.86 kB / 0.7734 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/1.08, allocations: 418.2 kB / 0.7738 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/1.08, allocations: 160.6 kB / 0.7739 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/1.081, allocations: 53.88 kB / 0.774 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.081, allocations: 329.2 kB / 0.7743 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/1.081, allocations: 189.2 kB / 0.7745 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/1.082, allocations: 418.8 kB / 0.7749 GB, free: 11.2 MB / 0.5919 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.002488/1.084, allocations: 1.179 MB / 0.776 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.084, allocations: 1.719 kB / 0.776 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001166/1.085, allocations: 0.6653 MB / 0.7767 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.085, allocations: 9.859 kB / 0.7767 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.085, allocations: 8.812 kB / 0.7767 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/1.085, allocations: 9.594 kB / 0.7767 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/1.086, allocations: 131.5 kB / 0.7768 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/1.086, allocations: 16.56 kB / 0.7768 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007966/1.087, allocations: 54.31 kB / 0.7769 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.087, allocations: 29.48 kB / 0.7769 GB, free: 10.75 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005105/1.087, allocations: 275 kB / 0.7772 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.087, allocations: 82.72 kB / 0.7773 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/1.088, allocations: 97.3 kB / 0.7774 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.088, allocations: 8.344 kB / 0.7774 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.088, allocations: 1.719 kB / 0.7774 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007991/1.089, allocations: 0.6969 MB / 0.7781 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/1.091, allocations: 1.64 MB / 0.7797 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.091, allocations: 3.688 kB / 0.7797 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/1.092, allocations: 105.2 kB / 0.7798 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/1.092, allocations: 6.594 kB / 0.7798 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/1.092, allocations: 18.16 kB / 0.7798 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/1.092, allocations: 13.25 kB / 0.7798 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-06/1.092, allocations: 8.062 kB / 0.7798 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.093, allocations: 0.8603 MB / 0.7806 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/1.094, allocations: 207.3 kB / 0.7808 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/1.094, allocations: 17 kB / 0.7809 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/1.095, allocations: 45.88 kB / 0.7809 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/1.095, allocations: 35.88 kB / 0.7809 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/1.095, allocations: 21.33 kB / 0.781 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009132/1.096, allocations: 0.5148 MB / 0.7815 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.096, allocations: 0.5938 kB / 0.7815 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001003/1.097, allocations: 207.2 kB / 0.7817 GB, free: 8.938 MB / 0.5919 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.0005503/1.097, allocations: 202 kB / 0.7818 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007991/1.098, allocations: 467.8 kB / 0.7823 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.098, allocations: 1.906 kB / 0.7823 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/1.098, allocations: 209.5 kB / 0.7825 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/1.101, allocations: 459.5 kB / 0.7829 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/1.104, allocations: 2.095 MB / 0.785 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/1.105, allocations: 1.026 MB / 0.786 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/1.105, allocations: 68.67 kB / 0.786 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/1.105, allocations: 2.906 kB / 0.786 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of Templates: time 0.02193/1.127, allocations: 12.79 MB / 0.7985 GB, free: 3.633 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)