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.001162/0.001162, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.009509/0.009509, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003809, allocations: 11.98 kB / 0.5076 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.216, allocations: 82.3 MB / 0.588 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5383/0.7543, allocations: 182.6 MB / 0.7663 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.7698, allocations: 12.94 MB / 0.7789 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.7709, allocations: 27.81 kB / 0.7789 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.7721, allocations: 342 kB / 0.7793 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.775, allocations: 1.097 MB / 0.7803 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.7766, allocations: 0.6349 MB / 0.7809 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003058/0.7797, allocations: 2.762 MB / 0.7836 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009946/0.7807, allocations: 0.7024 MB / 0.7843 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.7845, allocations: 1.626 MB / 0.7859 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.7862, allocations: 0.6654 MB / 0.7866 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/0.7863, allocations: 32 kB / 0.7866 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.7882, allocations: 0.9663 MB / 0.7875 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.7886, allocations: 331 kB / 0.7879 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005384/0.7891, allocations: 475.3 kB / 0.7883 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.7911, allocations: 1.468 MB / 0.7897 GB, free: 14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7911, allocations: 0 / 0.7897 GB, free: 14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7911, allocations: 4 kB / 0.7897 GB, free: 14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.7911, allocations: 4 kB / 0.7897 GB, free: 13.99 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.002035/0.7932, allocations: 1.05 MB / 0.7908 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.7932, allocations: 12.03 kB / 0.7908 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.7945, allocations: 214.6 kB / 0.791 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.7956, allocations: 0.6442 MB / 0.7916 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.7957, allocations: 54 kB / 0.7917 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.7958, allocations: 79.91 kB / 0.7917 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.7973, allocations: 0.9366 MB / 0.7927 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.7973, allocations: 7.875 kB / 0.7927 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.7974, allocations: 32 kB / 0.7927 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.7975, allocations: 37.3 kB / 0.7927 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009629/0.7984, allocations: 0.6099 MB / 0.7933 GB, free: 10.15 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.004519/0.803, allocations: 4.588 MB / 0.7978 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.8038, allocations: 0.5469 MB / 0.7983 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.8041, allocations: 243.1 kB / 0.7986 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.8043, allocations: 101 kB / 0.7987 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.8044, allocations: 47.17 kB / 0.7987 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/0.8044, allocations: 4 kB / 0.7987 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.00291/0.8073, allocations: 1.579 MB / 0.8003 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.8074, allocations: 110.8 kB / 0.8004 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.8084, allocations: 0.7196 MB / 0.8011 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.8084, allocations: 41.7 kB / 0.8011 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.8088, allocations: 419.8 kB / 0.8015 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.809, allocations: 157.7 kB / 0.8017 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.8091, allocations: 53.69 kB / 0.8017 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.8092, allocations: 334 kB / 0.802 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.8095, allocations: 185.2 kB / 0.8022 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.81, allocations: 417 kB / 0.8026 GB, free: 72 kB / 0.6075 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.002259/0.8123, allocations: 1.171 MB / 0.8037 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8123, allocations: 4 kB / 0.8038 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001046/0.8134, allocations: 0.6676 MB / 0.8044 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.8134, allocations: 8 kB / 0.8044 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8134, allocations: 8 kB / 0.8044 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8134, allocations: 8 kB / 0.8044 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.8139, allocations: 127.8 kB / 0.8046 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.8139, allocations: 12.55 kB / 0.8046 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.8146, allocations: 49 kB / 0.8046 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.8147, allocations: 31.98 kB / 0.8046 GB, free: 13.88 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 sytem: 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.0004413/0.8151, allocations: 280.2 kB / 0.8049 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.8153, allocations: 87 kB / 0.805 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.8155, allocations: 83.67 kB / 0.8051 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.8155, allocations: 4 kB / 0.8051 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.8155, allocations: 4 kB / 0.8051 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007695/0.8163, allocations: 0.6949 MB / 0.8058 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.8186, allocations: 1.642 MB / 0.8074 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8186, allocations: 3.938 kB / 0.8074 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.8191, allocations: 107.9 kB / 0.8075 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.8191, allocations: 12 kB / 0.8075 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.8192, allocations: 12 kB / 0.8075 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.8192, allocations: 7.938 kB / 0.8075 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8192, allocations: 8.312 kB / 0.8075 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.8203, allocations: 0.8908 MB / 0.8084 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.8207, allocations: 216 kB / 0.8086 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.8208, allocations: 15.98 kB / 0.8086 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.8213, allocations: 36.39 kB / 0.8086 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.8214, allocations: 47.77 kB / 0.8087 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.8214, allocations: 16 kB / 0.8087 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006149/0.822, allocations: 0.5146 MB / 0.8092 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.822, allocations: 0 / 0.8092 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000749/0.8228, allocations: 200 kB / 0.8094 GB, free: 8.742 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.0004753/0.8233, allocations: 198.9 kB / 0.8096 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000798/0.8241, allocations: 469 kB / 0.81 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.8241, allocations: 4.125 kB / 0.81 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.8244, allocations: 211.7 kB / 0.8102 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.827, allocations: 460.8 kB / 0.8107 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.8296, allocations: 2.015 MB / 0.8126 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.8303, allocations: 1.032 MB / 0.8136 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007105/0.831, allocations: 196.1 kB / 0.8138 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.8311, allocations: 59.44 kB / 0.8139 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of SimCode: time 1.853e-06/0.8311, allocations: 0 / 0.8139 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of Templates: time 0.02559/0.8567, allocations: 14.42 MB / 0.828 GB, free: 5.855 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)