Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001155/0.001155, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001469/0.001469, allocations: 187 kB / 17.34 MB, free: 5.719 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.77 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1608, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6261/0.787, allocations: 187.3 MB / 0.8432 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.8046, allocations: 13.06 MB / 0.856 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.8062, allocations: 34.22 kB / 0.856 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.8079, allocations: 432.7 kB / 0.8564 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.8115, allocations: 1.155 MB / 0.8576 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.8136, allocations: 0.7056 MB / 0.8582 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00294/0.8165, allocations: 2.009 MB / 0.8602 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.818, allocations: 0.836 MB / 0.861 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004381/0.8224, allocations: 1.829 MB / 0.8628 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.8243, allocations: 0.6658 MB / 0.8635 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003156/0.8247, allocations: 83.94 kB / 0.8635 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.8269, allocations: 0.8692 MB / 0.8644 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.8275, allocations: 387 kB / 0.8648 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.8285, allocations: 0.4937 MB / 0.8652 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.8315, allocations: 1.503 MB / 0.8667 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8315, allocations: 8 kB / 0.8667 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8315, allocations: 0 / 0.8667 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.073e-05/0.8316, allocations: 0 / 0.8667 GB, free: 2.562 MB / 0.6231 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.002516/0.8341, allocations: 1.231 MB / 0.8679 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8342, allocations: 16.02 kB / 0.8679 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.8355, allocations: 210.6 kB / 0.8681 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.8368, allocations: 0.6793 MB / 0.8688 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.8369, allocations: 58 kB / 0.8688 GB, free: 280 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.837, allocations: 75.91 kB / 0.8689 GB, free: 204 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.8386, allocations: 0.9297 MB / 0.8698 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.8386, allocations: 7.875 kB / 0.8698 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.8387, allocations: 35.98 kB / 0.8699 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.8388, allocations: 29.31 kB / 0.8699 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.8398, allocations: 0.6192 MB / 0.8705 GB, free: 14.5 MB / 0.6387 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.00492/0.8448, allocations: 4.566 MB / 0.875 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.8456, allocations: 0.5351 MB / 0.8755 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.8459, allocations: 238.5 kB / 0.8757 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.8462, allocations: 105.1 kB / 0.8758 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.8462, allocations: 55.11 kB / 0.8759 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.195e-06/0.8462, allocations: 0 / 0.8759 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.003153/0.8494, allocations: 1.586 MB / 0.8774 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.8495, allocations: 106.8 kB / 0.8775 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.8504, allocations: 0.7155 MB / 0.8782 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.8505, allocations: 33.7 kB / 0.8782 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.8508, allocations: 415.8 kB / 0.8786 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.851, allocations: 165.6 kB / 0.8788 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.8512, allocations: 126.2 kB / 0.8789 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8513, allocations: 330 kB / 0.8792 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.8516, allocations: 185.2 kB / 0.8794 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.8521, allocations: 417 kB / 0.8798 GB, free: 4.371 MB / 0.6387 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.002248/0.8544, allocations: 1.166 MB / 0.8809 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8544, allocations: 4 kB / 0.881 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00107/0.8555, allocations: 0.6797 MB / 0.8816 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.8555, allocations: 8 kB / 0.8816 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.8555, allocations: 4.875 kB / 0.8816 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.8555, allocations: 12 kB / 0.8816 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.856, allocations: 123.8 kB / 0.8818 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.8561, allocations: 16.48 kB / 0.8818 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.8567, allocations: 23.98 kB / 0.8818 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.8568, allocations: 28 kB / 0.8818 GB, free: 2.199 MB / 0.6387 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.0004271/0.8572, allocations: 275.2 kB / 0.8821 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.8574, allocations: 84.12 kB / 0.8822 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.8576, allocations: 91.66 kB / 0.8823 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.8576, allocations: 4 kB / 0.8823 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8576, allocations: 0 / 0.8823 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000723/0.8583, allocations: 0.7076 MB / 0.8829 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.861, allocations: 1.642 MB / 0.8846 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.861, allocations: 7.938 kB / 0.8846 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.8615, allocations: 99.89 kB / 0.8847 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.8615, allocations: 4 kB / 0.8847 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.8615, allocations: 20.05 kB / 0.8847 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.8615, allocations: 8.406 kB / 0.8847 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.8616, allocations: 8 kB / 0.8847 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8627, allocations: 0.8959 MB / 0.8856 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.863, allocations: 208.1 kB / 0.8858 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.8632, allocations: 16 kB / 0.8858 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.8636, allocations: 15.98 kB / 0.8858 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.8637, allocations: 35.84 kB / 0.8858 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.8638, allocations: 23.98 kB / 0.8859 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006593/0.8644, allocations: 0.5146 MB / 0.8864 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8644, allocations: 0 / 0.8864 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007932/0.8652, allocations: 196 kB / 0.8865 GB, free: 13.09 MB / 0.6544 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 (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.0004955/0.8657, allocations: 199.7 kB / 0.8867 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008473/0.8666, allocations: 479.3 kB / 0.8872 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8666, allocations: 0 / 0.8872 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.8669, allocations: 214.2 kB / 0.8874 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.8692, allocations: 490.1 kB / 0.8879 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.872, allocations: 1.704 MB / 0.8895 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/0.8727, allocations: 1.02 MB / 0.8905 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.873, allocations: 67.44 kB / 0.8906 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.873, allocations: 0 / 0.8906 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of Templates: time 0.02095/0.894, allocations: 13.03 MB / 0.9033 GB, free: 11.97 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)