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.001224/0.001224, allocations: 100.1 kB / 15.88 MB, free: 12 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.001404/0.001404, allocations: 199 kB / 16.79 MB, free: 6.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9816/0.9816, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 62.84 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1735, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5626/0.7362, allocations: 185 MB / 0.765 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.7523, allocations: 13.11 MB / 0.7778 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.7539, allocations: 27.81 kB / 0.7779 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.7555, allocations: 350 kB / 0.7782 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.7587, allocations: 1.089 MB / 0.7793 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.7605, allocations: 0.6283 MB / 0.7799 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003212/0.7637, allocations: 2.773 MB / 0.7826 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.7648, allocations: 0.7269 MB / 0.7833 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00394/0.7687, allocations: 1.654 MB / 0.7849 GB, free: 0 / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.7708, allocations: 0.6962 MB / 0.7856 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.7709, allocations: 48 kB / 0.7856 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.7731, allocations: 0.978 MB / 0.7866 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.7735, allocations: 347 kB / 0.7869 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006116/0.7741, allocations: 469.6 kB / 0.7874 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.7755, allocations: 1.107 MB / 0.7884 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.7755, allocations: 0 / 0.7884 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7755, allocations: 0 / 0.7884 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.7756, allocations: 0 / 0.7884 GB, free: 12.37 MB / 0.6075 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.001869/0.7774, allocations: 1.237 MB / 0.7896 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.7775, allocations: 8.031 kB / 0.7897 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.7787, allocations: 222.6 kB / 0.7899 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/0.7797, allocations: 0.6402 MB / 0.7905 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.7797, allocations: 58 kB / 0.7905 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.7798, allocations: 79.98 kB / 0.7906 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.7811, allocations: 0.9249 MB / 0.7915 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.7812, allocations: 3.938 kB / 0.7915 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.7812, allocations: 39.94 kB / 0.7916 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.7813, allocations: 25.31 kB / 0.7916 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.7822, allocations: 0.6216 MB / 0.7922 GB, free: 8.344 MB / 0.6075 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.004227/0.7864, allocations: 4.578 MB / 0.7967 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.7872, allocations: 0.5356 MB / 0.7972 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.7875, allocations: 259.1 kB / 0.7974 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.7877, allocations: 101.1 kB / 0.7975 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.7877, allocations: 46.44 kB / 0.7976 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.915e-06/0.7878, allocations: 0 / 0.7976 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002767/0.7905, allocations: 1.579 MB / 0.7991 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.7906, allocations: 110.8 kB / 0.7992 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.7914, allocations: 0.7155 MB / 0.7999 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.7915, allocations: 37.7 kB / 0.8 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.7918, allocations: 415.7 kB / 0.8004 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.792, allocations: 161.7 kB / 0.8005 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.7921, allocations: 122.2 kB / 0.8006 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7923, allocations: 334 kB / 0.8009 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.7926, allocations: 185.2 kB / 0.8011 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.793, allocations: 409 kB / 0.8015 GB, free: 14.23 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.7952, allocations: 1.175 MB / 0.8027 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7952, allocations: 4 kB / 0.8027 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001011/0.7962, allocations: 0.6681 MB / 0.8033 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7962, allocations: 8 kB / 0.8033 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7963, allocations: 12.06 kB / 0.8033 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.7963, allocations: 8 kB / 0.8033 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.7968, allocations: 127.8 kB / 0.8035 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.7968, allocations: 11.94 kB / 0.8035 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.7974, allocations: 55.81 kB / 0.8035 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.7975, allocations: 24 kB / 0.8036 GB, free: 12.03 MB / 0.6231 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.0004005/0.7979, allocations: 269.6 kB / 0.8038 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7981, allocations: 87 kB / 0.8039 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.7982, allocations: 95.66 kB / 0.804 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7982, allocations: 4 kB / 0.804 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7983, allocations: 0 / 0.804 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007133/0.799, allocations: 0.6949 MB / 0.8047 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.8016, allocations: 1.642 MB / 0.8063 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.8016, allocations: 7.938 kB / 0.8063 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.802, allocations: 100.3 kB / 0.8064 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.8021, allocations: 8 kB / 0.8064 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.8021, allocations: 19.98 kB / 0.8064 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.8021, allocations: 11.94 kB / 0.8064 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8021, allocations: 4 kB / 0.8064 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.8033, allocations: 0.8947 MB / 0.8073 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.8037, allocations: 204.1 kB / 0.8075 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.8038, allocations: 16 kB / 0.8075 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.8044, allocations: 43.88 kB / 0.8075 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.8044, allocations: 35.84 kB / 0.8076 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.8045, allocations: 27.92 kB / 0.8076 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006832/0.8052, allocations: 0.5029 MB / 0.8081 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8052, allocations: 4 kB / 0.8081 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008101/0.806, allocations: 208 kB / 0.8083 GB, free: 6.891 MB / 0.6231 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.0005114/0.8065, allocations: 196.4 kB / 0.8085 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008374/0.8074, allocations: 468.3 kB / 0.8089 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.8074, allocations: 8 kB / 0.8089 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.8077, allocations: 213.3 kB / 0.8091 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.8099, allocations: 467.5 kB / 0.8096 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.8127, allocations: 1.988 MB / 0.8115 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.8134, allocations: 1.024 MB / 0.8125 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.8136, allocations: 71.42 kB / 0.8126 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of SimCode: time 8.62e-07/0.8136, allocations: 0 / 0.8126 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of Templates: time 0.02109/0.8347, allocations: 12.95 MB / 0.8252 GB, free: 5.605 MB / 0.6387 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)