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.00159/0.00159, allocations: 107.4 kB / 15.34 MB, free: 0.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.001598/0.001598, allocations: 195.1 kB / 16.26 MB, free: 6.637 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9703/0.9703, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.41 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1691, allocations: 81.02 MB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4349/0.6041, allocations: 184.8 MB / 0.765 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.6228, allocations: 12.96 MB / 0.7776 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.6242, allocations: 31.81 kB / 0.7777 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.6258, allocations: 358 kB / 0.778 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.6291, allocations: 1.081 MB / 0.7791 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.631, allocations: 0.6382 MB / 0.7797 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.634, allocations: 2.009 MB / 0.7816 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.6353, allocations: 0.8176 MB / 0.7824 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.6394, allocations: 1.767 MB / 0.7842 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.6414, allocations: 0.6974 MB / 0.7848 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.6416, allocations: 84 kB / 0.7849 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.6435, allocations: 0.9001 MB / 0.7858 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004377/0.6439, allocations: 387 kB / 0.7862 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.6445, allocations: 0.4976 MB / 0.7867 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.6466, allocations: 1.534 MB / 0.7882 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6466, allocations: 0 / 0.7882 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6466, allocations: 0 / 0.7882 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.6466, allocations: 0 / 0.7882 GB, free: 11.84 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.001962/0.6486, allocations: 1.242 MB / 0.7894 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6487, allocations: 15.97 kB / 0.7894 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6498, allocations: 210.6 kB / 0.7896 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6509, allocations: 0.6403 MB / 0.7902 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.651, allocations: 65.92 kB / 0.7903 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.6511, allocations: 76 kB / 0.7904 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.6526, allocations: 0.9288 MB / 0.7913 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.6526, allocations: 7.938 kB / 0.7913 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.6527, allocations: 35.94 kB / 0.7913 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.6527, allocations: 29.3 kB / 0.7913 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.6537, allocations: 0.6216 MB / 0.7919 GB, free: 7.801 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.004755/0.6585, allocations: 4.578 MB / 0.7964 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/0.6593, allocations: 0.5468 MB / 0.7969 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.6597, allocations: 243.5 kB / 0.7972 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.6599, allocations: 101.1 kB / 0.7973 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.66, allocations: 38.56 kB / 0.7973 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.66, allocations: 0 / 0.7973 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002887/0.6629, allocations: 1.59 MB / 0.7989 GB, free: 296 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.6629, allocations: 114.7 kB / 0.799 GB, free: 156 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/0.6638, allocations: 0.7116 MB / 0.7997 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.6639, allocations: 41.69 kB / 0.7997 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.6642, allocations: 423.7 kB / 0.8001 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.6644, allocations: 157.7 kB / 0.8003 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.6646, allocations: 122.2 kB / 0.8004 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6647, allocations: 326 kB / 0.8007 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.665, allocations: 190.6 kB / 0.8009 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.6655, allocations: 413 kB / 0.8013 GB, free: 13.68 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.002298/0.6678, allocations: 1.171 MB / 0.8024 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.6679, allocations: 0 / 0.8024 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001068/0.6689, allocations: 0.668 MB / 0.8031 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.669, allocations: 12.16 kB / 0.8031 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.669, allocations: 4 kB / 0.8031 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.669, allocations: 12 kB / 0.8031 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.6695, allocations: 131.8 kB / 0.8032 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.6695, allocations: 12 kB / 0.8032 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.6701, allocations: 47.81 kB / 0.8033 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.6702, allocations: 32.75 kB / 0.8033 GB, free: 11.48 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.0004101/0.6706, allocations: 273.6 kB / 0.8036 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.6708, allocations: 83 kB / 0.8036 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.671, allocations: 87.66 kB / 0.8037 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.671, allocations: 8 kB / 0.8037 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.671, allocations: 0 / 0.8037 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008069/0.6718, allocations: 0.6988 MB / 0.8044 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.6743, allocations: 1.641 MB / 0.806 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6743, allocations: 8.375 kB / 0.806 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.6748, allocations: 107.8 kB / 0.8061 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.6748, allocations: 8.094 kB / 0.8061 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.6749, allocations: 12 kB / 0.8061 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.6749, allocations: 7.984 kB / 0.8062 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.6749, allocations: 11.92 kB / 0.8062 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.676, allocations: 0.8908 MB / 0.807 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.6764, allocations: 208.1 kB / 0.8072 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.6765, allocations: 15.98 kB / 0.8072 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.6769, allocations: 41.3 kB / 0.8073 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.677, allocations: 39.84 kB / 0.8073 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.6771, allocations: 23.92 kB / 0.8073 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006455/0.6777, allocations: 0.5107 MB / 0.8078 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6777, allocations: 0 / 0.8078 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000728/0.6785, allocations: 204 kB / 0.808 GB, free: 6.352 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.0004856/0.6789, allocations: 195.9 kB / 0.8082 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009249/0.6799, allocations: 0.5072 MB / 0.8087 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6799, allocations: 0 / 0.8087 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.6802, allocations: 214.9 kB / 0.8089 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.6823, allocations: 494.1 kB / 0.8094 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.6852, allocations: 1.93 MB / 0.8113 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.6859, allocations: 1.036 MB / 0.8123 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006377/0.6866, allocations: 191 kB / 0.8125 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.6867, allocations: 67.42 kB / 0.8125 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of SimCode: time 6.32e-07/0.6867, allocations: 4 kB / 0.8125 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.0277/0.7145, allocations: 15 MB / 0.8272 GB, free: 2.922 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)