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.001041/0.001041, allocations: 108.5 kB / 17.03 MB, free: 5.656 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.0009493/0.0009495, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6679/0.6679, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001886, allocations: 59.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3502, allocations: 76.15 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1752/0.5255, allocations: 187.3 MB / 0.7404 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3091/0.8346, allocations: 13.05 MB / 0.7532 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009743/0.8357, allocations: 30.97 kB / 0.7532 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.8368, allocations: 430.5 kB / 0.7536 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.8393, allocations: 1.157 MB / 0.7547 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.841, allocations: 0.7057 MB / 0.7554 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.8436, allocations: 2.017 MB / 0.7574 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.8449, allocations: 0.8465 MB / 0.7582 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.8492, allocations: 1.808 MB / 0.76 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.8508, allocations: 0.6689 MB / 0.7606 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.8509, allocations: 80.34 kB / 0.7607 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.8528, allocations: 0.8647 MB / 0.7616 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004459/0.8533, allocations: 392.5 kB / 0.7619 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006053/0.8539, allocations: 0.498 MB / 0.7624 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.8559, allocations: 1.504 MB / 0.7639 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8559, allocations: 1.719 kB / 0.7639 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.856, allocations: 0 / 0.7639 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.856, allocations: 0.8438 kB / 0.7639 GB, free: 1.613 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.001807/0.8578, allocations: 1.234 MB / 0.7651 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8578, allocations: 13 kB / 0.7651 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.859, allocations: 219.1 kB / 0.7653 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.8602, allocations: 0.6784 MB / 0.766 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.8602, allocations: 59.81 kB / 0.766 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.8604, allocations: 77.97 kB / 0.7661 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.8616, allocations: 0.9338 MB / 0.767 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8616, allocations: 8.328 kB / 0.767 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.8617, allocations: 36.19 kB / 0.7671 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.8617, allocations: 29.52 kB / 0.7671 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009112/0.8626, allocations: 0.6176 MB / 0.7677 GB, free: 16.3 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.003958/0.8666, allocations: 4.574 MB / 0.7722 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.8674, allocations: 0.5494 MB / 0.7727 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.8677, allocations: 246.8 kB / 0.7729 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.868, allocations: 101.5 kB / 0.773 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.868, allocations: 42.03 kB / 0.7731 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.868, allocations: 0.9062 kB / 0.7731 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002668/0.8707, allocations: 1.593 MB / 0.7746 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.8708, allocations: 108.9 kB / 0.7747 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.8715, allocations: 0.7146 MB / 0.7754 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.8716, allocations: 36.8 kB / 0.7755 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.8719, allocations: 414.1 kB / 0.7759 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.872, allocations: 164.4 kB / 0.776 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.8722, allocations: 118.3 kB / 0.7761 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8723, allocations: 330 kB / 0.7765 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.8726, allocations: 188.6 kB / 0.7766 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.873, allocations: 416 kB / 0.777 GB, free: 11.06 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.00214/0.8752, allocations: 1.178 MB / 0.7782 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8752, allocations: 1.969 kB / 0.7782 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009778/0.8762, allocations: 0.6757 MB / 0.7788 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.8762, allocations: 8.156 kB / 0.7789 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.8762, allocations: 9.656 kB / 0.7789 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.8763, allocations: 10.62 kB / 0.7789 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.8767, allocations: 129.3 kB / 0.779 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.8767, allocations: 13.91 kB / 0.779 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.8773, allocations: 31.06 kB / 0.779 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.8773, allocations: 30.31 kB / 0.7791 GB, free: 10.64 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.0003474/0.8777, allocations: 276.4 kB / 0.7793 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.8779, allocations: 82.62 kB / 0.7794 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.878, allocations: 91.91 kB / 0.7795 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.878, allocations: 9.641 kB / 0.7795 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8781, allocations: 0.5 kB / 0.7795 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007862/0.8788, allocations: 0.6949 MB / 0.7802 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.881, allocations: 1.642 MB / 0.7818 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.881, allocations: 4.594 kB / 0.7818 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.8814, allocations: 96.53 kB / 0.7819 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.8814, allocations: 13.64 kB / 0.7819 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.8815, allocations: 18.75 kB / 0.7819 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.8815, allocations: 5.375 kB / 0.7819 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8815, allocations: 8.688 kB / 0.7819 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009097/0.8824, allocations: 0.8668 MB / 0.7828 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.8827, allocations: 204.2 kB / 0.783 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.8828, allocations: 22.02 kB / 0.783 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.8832, allocations: 21.23 kB / 0.783 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.8833, allocations: 44.39 kB / 0.7831 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.8833, allocations: 21.83 kB / 0.7831 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004991/0.8838, allocations: 0.5113 MB / 0.7836 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8839, allocations: 1.094 kB / 0.7836 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000674/0.8845, allocations: 201.9 kB / 0.7838 GB, free: 8.871 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.000403/0.8849, allocations: 199.2 kB / 0.784 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007396/0.8857, allocations: 490.3 kB / 0.7844 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8857, allocations: 2.531 kB / 0.7844 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.886, allocations: 207.5 kB / 0.7846 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.8877, allocations: 474.5 kB / 0.7851 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.8899, allocations: 1.657 MB / 0.7867 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.8904, allocations: 1.029 MB / 0.7877 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005218/0.8909, allocations: 198.2 kB / 0.7879 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.891, allocations: 65.5 kB / 0.788 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.8911, allocations: 0 / 0.788 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of Templates: time 0.02123/0.9123, allocations: 15.05 MB / 0.8026 GB, free: 3.98 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)