Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001573/0.001573, allocations: 113.2 kB / 16.41 MB, free: 6.016 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.001512/0.001512, allocations: 183.6 kB / 17.34 MB, free: 5.629 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.491/1.491, 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-master/package.mo): time 0.8574/0.8574, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.55 kB / 0.5864 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1844, allocations: 80.93 MB / 0.6654 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7727/0.9571, allocations: 187.8 MB / 0.8488 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.976, allocations: 13.09 MB / 0.8616 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.9775, allocations: 35.03 kB / 0.8616 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.979, allocations: 435 kB / 0.862 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.9825, allocations: 1.207 MB / 0.8632 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.9846, allocations: 0.7104 MB / 0.8639 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003232/0.9879, allocations: 2.005 MB / 0.8659 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.9891, allocations: 0.6936 MB / 0.8665 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.9939, allocations: 1.872 MB / 0.8684 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.9962, allocations: 0.6686 MB / 0.869 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.9964, allocations: 84 kB / 0.8691 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.9986, allocations: 0.877 MB / 0.8699 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.999, allocations: 390.9 kB / 0.8703 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007059/0.9997, allocations: 0.5015 MB / 0.8708 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/1.002, allocations: 1.502 MB / 0.8723 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.002, allocations: 0 / 0.8723 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/1.002, allocations: 0 / 0.8723 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.467e-05/1.002, allocations: 0 / 0.8723 GB, free: 11.29 MB / 0.6387 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.002276/1.004, allocations: 1.257 MB / 0.8735 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.004, allocations: 17.09 kB / 0.8735 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/1.006, allocations: 215.2 kB / 0.8737 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/1.007, allocations: 0.6838 MB / 0.8744 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/1.007, allocations: 58 kB / 0.8744 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.007, allocations: 80 kB / 0.8745 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/1.009, allocations: 0.9287 MB / 0.8754 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/1.009, allocations: 11.95 kB / 0.8754 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/1.009, allocations: 35.98 kB / 0.8755 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/1.009, allocations: 25.31 kB / 0.8755 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.01, allocations: 0.6177 MB / 0.8761 GB, free: 7.188 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.00579/1.016, allocations: 4.575 MB / 0.8806 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008835/1.017, allocations: 0.5236 MB / 0.8811 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/1.017, allocations: 232.4 kB / 0.8813 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/1.017, allocations: 105 kB / 0.8814 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/1.017, allocations: 51.17 kB / 0.8815 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 3.236e-06/1.017, allocations: 0 / 0.8815 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.003953/1.021, allocations: 1.613 MB / 0.883 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/1.021, allocations: 110.8 kB / 0.8831 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.022, allocations: 0.7158 MB / 0.8838 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/1.022, allocations: 37.7 kB / 0.8839 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/1.023, allocations: 424.5 kB / 0.8843 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/1.023, allocations: 166.6 kB / 0.8844 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.023, allocations: 118.3 kB / 0.8845 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.023, allocations: 330 kB / 0.8849 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/1.024, allocations: 189.1 kB / 0.885 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/1.024, allocations: 417 kB / 0.8854 GB, free: 13.05 MB / 0.6544 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.002645/1.027, allocations: 1.175 MB / 0.8866 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.027, allocations: 0 / 0.8866 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001234/1.028, allocations: 0.6717 MB / 0.8872 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.028, allocations: 8 kB / 0.8872 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.028, allocations: 4 kB / 0.8873 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.028, allocations: 12 kB / 0.8873 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/1.029, allocations: 124.5 kB / 0.8874 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/1.029, allocations: 15.94 kB / 0.8874 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/1.03, allocations: 31.98 kB / 0.8874 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/1.03, allocations: 24 kB / 0.8875 GB, free: 10.88 MB / 0.6544 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.0004879/1.03, allocations: 282.8 kB / 0.8877 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.03, allocations: 83.48 kB / 0.8878 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/1.03, allocations: 95.66 kB / 0.8879 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.03, allocations: 4 kB / 0.8879 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.03, allocations: 0 / 0.8879 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009184/1.031, allocations: 0.6988 MB / 0.8886 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/1.034, allocations: 1.646 MB / 0.8902 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.034, allocations: 4.5 kB / 0.8902 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/1.035, allocations: 107.8 kB / 0.8903 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.035, allocations: 4 kB / 0.8903 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/1.035, allocations: 19.98 kB / 0.8903 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/1.035, allocations: 8 kB / 0.8903 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.035, allocations: 4 kB / 0.8903 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/1.036, allocations: 0.9007 MB / 0.8912 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/1.037, allocations: 208.5 kB / 0.8914 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.037, allocations: 16 kB / 0.8914 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/1.037, allocations: 17.55 kB / 0.8914 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/1.037, allocations: 47.78 kB / 0.8915 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/1.037, allocations: 19.98 kB / 0.8915 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008208/1.038, allocations: 0.5068 MB / 0.892 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.038, allocations: 0 / 0.892 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000815/1.039, allocations: 203.9 kB / 0.8922 GB, free: 5.746 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.0005121/1.039, allocations: 200.4 kB / 0.8924 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009656/1.04, allocations: 453.6 kB / 0.8928 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.04, allocations: 4.125 kB / 0.8928 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/1.041, allocations: 204.2 kB / 0.893 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.043, allocations: 484.6 kB / 0.8935 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/1.047, allocations: 1.749 MB / 0.8952 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.048, allocations: 1.024 MB / 0.8962 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.048, allocations: 67.44 kB / 0.8962 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of SimCode: time 2.094e-06/1.048, allocations: 0 / 0.8962 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of Templates: time 0.03938/1.088, allocations: 13.08 MB / 0.909 GB, free: 4.523 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)