Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 61.12 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4218, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2078/0.6296, allocations: 190.3 MB / 0.7659 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008754/0.6384, allocations: 5.68 MB / 0.7715 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.6398, allocations: 39.75 kB / 0.7715 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.6415, allocations: 0.5669 MB / 0.7721 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.6453, allocations: 1.598 MB / 0.7736 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.6484, allocations: 1.19 MB / 0.7748 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002978/0.6513, allocations: 2.5 MB / 0.7772 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.6527, allocations: 1.004 MB / 0.7782 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.6544, allocations: 1.023 MB / 0.7792 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.6559, allocations: 0.8129 MB / 0.78 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.6561, allocations: 100 kB / 0.7801 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.659, allocations: 1.52 MB / 0.7816 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005058/0.6595, allocations: 498.8 kB / 0.7821 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007175/0.6602, allocations: 0.63 MB / 0.7827 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.6632, allocations: 2.092 MB / 0.7847 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6632, allocations: 0 / 0.7847 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6632, allocations: 0 / 0.7847 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.6633, allocations: 7.938 kB / 0.7847 GB, free: 15.25 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002194/0.6655, allocations: 1.476 MB / 0.7862 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6655, allocations: 8.031 kB / 0.7862 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.6674, allocations: 334.3 kB / 0.7865 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6686, allocations: 0.7688 MB / 0.7873 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.6689, allocations: 121.9 kB / 0.7874 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.669, allocations: 84 kB / 0.7875 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.6708, allocations: 1.084 MB / 0.7885 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.6708, allocations: 4 kB / 0.7885 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.6709, allocations: 39.94 kB / 0.7886 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.671, allocations: 41.92 kB / 0.7886 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.6725, allocations: 0.8353 MB / 0.7894 GB, free: 10.32 MB / 0.6231 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.005741/0.6783, allocations: 4.301 MB / 0.7936 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.6789, allocations: 374.8 kB / 0.794 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.6792, allocations: 209.3 kB / 0.7942 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.6794, allocations: 109 kB / 0.7943 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.6794, allocations: 42.55 kB / 0.7943 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 3.596e-06/0.6794, allocations: 0 / 0.7943 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002708/0.6821, allocations: 1.319 MB / 0.7956 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.6822, allocations: 67.39 kB / 0.7957 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6836, allocations: 0.9966 MB / 0.7966 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.6837, allocations: 37.7 kB / 0.7967 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.684, allocations: 0.4914 MB / 0.7972 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6842, allocations: 145.9 kB / 0.7973 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.6844, allocations: 122.2 kB / 0.7974 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6845, allocations: 330 kB / 0.7977 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.685, allocations: 237.2 kB / 0.798 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/0.6856, allocations: 445.5 kB / 0.7984 GB, free: 0.6328 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.6881, allocations: 1.211 MB / 0.7996 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.6881, allocations: 8 kB / 0.7996 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001448/0.6896, allocations: 0.7845 MB / 0.8003 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6896, allocations: 4.344 kB / 0.8003 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6896, allocations: 12 kB / 0.8003 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.6896, allocations: 8 kB / 0.8004 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.6902, allocations: 143.8 kB / 0.8005 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.6902, allocations: 16 kB / 0.8005 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/0.6912, allocations: 67.84 kB / 0.8006 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.6913, allocations: 28 kB / 0.8006 GB, free: 14.25 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0004751/0.6917, allocations: 313.5 kB / 0.8009 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.6919, allocations: 102.8 kB / 0.801 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.6921, allocations: 109 kB / 0.8011 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6921, allocations: 4 kB / 0.8011 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6921, allocations: 0 / 0.8011 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007036/0.6928, allocations: 0.6693 MB / 0.8018 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.6951, allocations: 1.584 MB / 0.8033 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6951, allocations: 4 kB / 0.8033 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.6955, allocations: 83.89 kB / 0.8034 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.6955, allocations: 11.94 kB / 0.8034 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.6956, allocations: 16 kB / 0.8034 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.6956, allocations: 4.5 kB / 0.8034 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.6956, allocations: 11.94 kB / 0.8034 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.6966, allocations: 0.8486 MB / 0.8043 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.697, allocations: 251.7 kB / 0.8045 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.6971, allocations: 8 kB / 0.8045 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.6978, allocations: 41.61 kB / 0.8045 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.6978, allocations: 39.83 kB / 0.8046 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.6979, allocations: 27.98 kB / 0.8046 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000996/0.6989, allocations: 0.7116 MB / 0.8053 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6989, allocations: 0 / 0.8053 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000829/0.6998, allocations: 260 kB / 0.8056 GB, free: 8.875 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004271/0.7002, allocations: 209.3 kB / 0.8058 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009812/0.7012, allocations: 0.5351 MB / 0.8063 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7012, allocations: 0 / 0.8063 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.7015, allocations: 197.2 kB / 0.8065 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.704, allocations: 0.6243 MB / 0.8071 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.7068, allocations: 1.853 MB / 0.8089 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.7076, allocations: 1.091 MB / 0.81 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000924/0.7085, allocations: 252.3 kB / 0.8102 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.7087, allocations: 71.42 kB / 0.8103 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.7087, allocations: 0 / 0.8103 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of Templates: time 0.2745/0.9832, allocations: 19.82 MB / 0.8296 GB, free: 214.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)