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.001391/0.001391, allocations: 102.8 kB / 16.4 MB, free: 6.5 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.001762/0.001762, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.445/1.445, 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.8036/0.8036, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 58.28 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.175, 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.7265/0.9016, allocations: 187.3 MB / 0.8432 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.9182, allocations: 13.05 MB / 0.856 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.9199, allocations: 34.72 kB / 0.856 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.9214, allocations: 431.7 kB / 0.8564 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.9249, allocations: 1.151 MB / 0.8575 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.9269, allocations: 0.7057 MB / 0.8582 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.9299, allocations: 2.013 MB / 0.8602 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.9311, allocations: 0.8379 MB / 0.861 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.9358, allocations: 1.827 MB / 0.8628 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.9377, allocations: 0.6613 MB / 0.8635 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.9378, allocations: 80 kB / 0.8635 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.94, allocations: 0.877 MB / 0.8644 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.9405, allocations: 383 kB / 0.8647 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.9412, allocations: 0.4899 MB / 0.8652 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.9438, allocations: 1.503 MB / 0.8667 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9438, allocations: 0 / 0.8667 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.747e-06/0.9438, allocations: 4 kB / 0.8667 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.9439, allocations: 3.938 kB / 0.8667 GB, free: 2.578 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.00208/0.9459, allocations: 1.239 MB / 0.8679 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.946, allocations: 8.031 kB / 0.8679 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.9473, allocations: 210.6 kB / 0.8681 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.9487, allocations: 0.6832 MB / 0.8688 GB, free: 352 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.9488, allocations: 61.94 kB / 0.8688 GB, free: 288 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.9489, allocations: 75.91 kB / 0.8689 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.9505, allocations: 0.9336 MB / 0.8698 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.9505, allocations: 7.875 kB / 0.8698 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.9506, allocations: 36 kB / 0.8699 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.9507, allocations: 29.31 kB / 0.8699 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.9517, allocations: 0.6138 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.00495/0.9567, allocations: 4.57 MB / 0.875 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.9575, allocations: 0.5331 MB / 0.8755 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.9578, allocations: 249.7 kB / 0.8757 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.958, allocations: 97.09 kB / 0.8758 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.9581, allocations: 43.19 kB / 0.8759 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.9581, allocations: 4 kB / 0.8759 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002872/0.961, allocations: 1.582 MB / 0.8774 GB, free: 7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.9611, allocations: 110.8 kB / 0.8775 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.962, allocations: 0.7155 MB / 0.8782 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.962, allocations: 45.89 kB / 0.8783 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.9624, allocations: 415.8 kB / 0.8786 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.9626, allocations: 165.6 kB / 0.8788 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.9628, allocations: 114.2 kB / 0.8789 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.963, allocations: 330 kB / 0.8792 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.9633, allocations: 189.2 kB / 0.8794 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.9641, allocations: 425 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.002237/0.9664, allocations: 1.158 MB / 0.8809 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.9664, allocations: 4 kB / 0.881 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001109/0.9675, allocations: 0.6676 MB / 0.8816 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.9675, allocations: 10.17 kB / 0.8816 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9675, allocations: 8 kB / 0.8816 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.9676, allocations: 8 kB / 0.8816 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.9681, allocations: 131.8 kB / 0.8818 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.9681, allocations: 8.5 kB / 0.8818 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.9686, allocations: 29.53 kB / 0.8818 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.9687, allocations: 31.94 kB / 0.8818 GB, free: 2.211 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.0004197/0.9691, allocations: 279.2 kB / 0.8821 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.9694, allocations: 83 kB / 0.8822 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.9696, allocations: 91.66 kB / 0.8823 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.9696, allocations: 4 kB / 0.8823 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.9696, allocations: 0.6875 kB / 0.8823 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007728/0.9704, allocations: 0.7076 MB / 0.8829 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.973, allocations: 1.642 MB / 0.8846 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.973, allocations: 7.938 kB / 0.8846 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.9735, allocations: 104.3 kB / 0.8847 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.9735, allocations: 12.88 kB / 0.8847 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.9736, allocations: 12 kB / 0.8847 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.9736, allocations: 4 kB / 0.8847 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.9736, allocations: 7.938 kB / 0.8847 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.9748, allocations: 0.892 MB / 0.8856 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.9752, allocations: 212.1 kB / 0.8858 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.9753, allocations: 12.94 kB / 0.8858 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.9757, allocations: 19.98 kB / 0.8858 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.9758, allocations: 43.78 kB / 0.8858 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.9759, allocations: 23.98 kB / 0.8859 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008399/0.9767, allocations: 0.5029 MB / 0.8864 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9767, allocations: 0 / 0.8864 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008378/0.9776, allocations: 204 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.0005913/0.9782, allocations: 203.9 kB / 0.8867 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008727/0.979, allocations: 476.5 kB / 0.8872 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9791, allocations: 384 / 0.8872 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.9794, allocations: 215.6 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.002051/0.9815, allocations: 473.7 kB / 0.8879 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.9841, allocations: 1.712 MB / 0.8895 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.9847, allocations: 1.024 MB / 0.8905 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.985, allocations: 71.42 kB / 0.8906 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of SimCode: time 4.8e-07/0.985, allocations: 0 / 0.8906 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of Templates: time 0.02224/1.007, allocations: 13.13 MB / 0.9034 GB, free: 11.87 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)