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.00157/0.00157, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.00168/0.00168, allocations: 191 kB / 16.91 MB, free: 6.195 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7826/0.7826, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 0.4906 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3817, allocations: 77.91 MB / 0.5667 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.213/0.5948, allocations: 184.8 MB / 0.7472 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3681/0.963, allocations: 12.96 MB / 0.7598 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.9642, allocations: 33.41 kB / 0.7599 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.9658, allocations: 365 kB / 0.7602 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.9693, allocations: 1.086 MB / 0.7613 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.9715, allocations: 0.6362 MB / 0.7619 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.975, allocations: 2.013 MB / 0.7638 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.9774, allocations: 0.8164 MB / 0.7646 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006417/0.9839, allocations: 1.773 MB / 0.7664 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.9861, allocations: 0.7001 MB / 0.7671 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003489/0.9865, allocations: 79.94 kB / 0.7671 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.9891, allocations: 0.9053 MB / 0.768 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000717/0.9899, allocations: 396.8 kB / 0.7684 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.9911, allocations: 0.4936 MB / 0.7689 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.9939, allocations: 1.532 MB / 0.7704 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9939, allocations: 1 kB / 0.7704 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9939, allocations: 0.9062 kB / 0.7704 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.733e-05/0.9939, allocations: 0 / 0.7704 GB, free: 1.492 MB / 0.5762 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.002766/0.9967, allocations: 1.231 MB / 0.7716 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9967, allocations: 9.531 kB / 0.7716 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.9982, allocations: 214.9 kB / 0.7718 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.9994, allocations: 0.6469 MB / 0.7724 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.9995, allocations: 58.09 kB / 0.7725 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.9996, allocations: 75.06 kB / 0.7726 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/1.001, allocations: 0.9373 MB / 0.7735 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/1.001, allocations: 6.703 kB / 0.7735 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/1.001, allocations: 38.52 kB / 0.7735 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/1.001, allocations: 26.88 kB / 0.7735 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/1.003, allocations: 0.6199 MB / 0.7741 GB, free: 16.18 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.005296/1.008, allocations: 4.588 MB / 0.7786 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/1.009, allocations: 0.5426 MB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/1.009, allocations: 240.3 kB / 0.7794 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/1.009, allocations: 106.9 kB / 0.7795 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.009, allocations: 44.03 kB / 0.7795 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/1.009, allocations: 0.5938 kB / 0.7795 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.003059/1.012, allocations: 1.59 MB / 0.7811 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/1.012, allocations: 108.9 kB / 0.7812 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/1.013, allocations: 0.7143 MB / 0.7819 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/1.013, allocations: 35.2 kB / 0.7819 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/1.013, allocations: 420.7 kB / 0.7823 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/1.014, allocations: 163.4 kB / 0.7825 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.014, allocations: 125 kB / 0.7826 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.014, allocations: 324.1 kB / 0.7829 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/1.014, allocations: 187.5 kB / 0.7831 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/1.015, allocations: 423.1 kB / 0.7835 GB, free: 10.93 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.002167/1.017, allocations: 1.17 MB / 0.7846 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.017, allocations: 4.266 kB / 0.7846 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009538/1.018, allocations: 0.6772 MB / 0.7853 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.018, allocations: 6.188 kB / 0.7853 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.018, allocations: 8.094 kB / 0.7853 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.018, allocations: 8.438 kB / 0.7853 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/1.018, allocations: 126.4 kB / 0.7854 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.018, allocations: 17.11 kB / 0.7854 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/1.019, allocations: 57.98 kB / 0.7855 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/1.019, allocations: 25.12 kB / 0.7855 GB, free: 10.5 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 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.0004927/1.02, allocations: 277.5 kB / 0.7858 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/1.02, allocations: 87.34 kB / 0.7859 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/1.02, allocations: 90.09 kB / 0.786 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.02, allocations: 6.875 kB / 0.786 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.02, allocations: 0 / 0.786 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007637/1.021, allocations: 0.7009 MB / 0.7867 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/1.024, allocations: 1.645 MB / 0.7883 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.024, allocations: 6.469 kB / 0.7883 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/1.024, allocations: 97.3 kB / 0.7884 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/1.024, allocations: 8.188 kB / 0.7884 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/1.024, allocations: 19.39 kB / 0.7884 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.024, allocations: 8.188 kB / 0.7884 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.024, allocations: 4.281 kB / 0.7884 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.025, allocations: 0.8712 MB / 0.7892 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/1.026, allocations: 209.3 kB / 0.7894 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/1.026, allocations: 17.38 kB / 0.7895 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/1.026, allocations: 37.69 kB / 0.7895 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/1.026, allocations: 41.91 kB / 0.7895 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/1.026, allocations: 22.59 kB / 0.7896 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006261/1.027, allocations: 0.5071 MB / 0.7901 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.027, allocations: 1.203 kB / 0.7901 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008045/1.028, allocations: 203.7 kB / 0.7903 GB, free: 8.723 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.0005122/1.028, allocations: 208 kB / 0.7904 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00084/1.029, allocations: 0.5093 MB / 0.7909 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.029, allocations: 3.781 kB / 0.7909 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/1.03, allocations: 209.7 kB / 0.7911 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.032, allocations: 482.2 kB / 0.7916 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/1.034, allocations: 1.968 MB / 0.7935 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/1.035, allocations: 1.026 MB / 0.7945 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000779/1.036, allocations: 201.8 kB / 0.7947 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.036, allocations: 61.56 kB / 0.7948 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/1.036, allocations: 0 / 0.7948 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of Templates: time 0.02837/1.064, allocations: 14.97 MB / 0.8094 GB, free: 3.289 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)