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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 174.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8758/0.8758, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009504, allocations: 90.3 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.363e-05/4.375e-05, allocations: 3.969 kB / 0.56 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1822, allocations: 82.3 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.326/5.508, allocations: 1.893 GB / 2.534 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/5.509, allocations: 97.5 kB / 2.534 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.626/8.135, allocations: 0.5956 GB / 3.129 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/8.135, allocations: 3.875 kB / 3.129 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.36e-05/8.135, allocations: 19.16 kB / 3.129 GB, free: 135.2 MB / 0.6823 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.002239/8.138, allocations: 1.128 MB / 3.131 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/8.138, allocations: 12.81 kB / 3.131 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/8.139, allocations: 216.3 kB / 3.131 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/8.14, allocations: 0.6627 MB / 3.131 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/8.14, allocations: 58.62 kB / 3.131 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/8.14, allocations: 79.69 kB / 3.132 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/8.141, allocations: 0.8915 MB / 3.132 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/8.141, allocations: 3.844 kB / 3.132 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/8.141, allocations: 40.88 kB / 3.132 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/8.141, allocations: 28.69 kB / 3.132 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/8.142, allocations: 0.5789 MB / 3.133 GB, free: 134.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003483/8.146, allocations: 4.559 MB / 3.137 GB, free: 131 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/8.146, allocations: 437.2 kB / 3.138 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/8.147, allocations: 228 kB / 3.138 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/8.147, allocations: 106 kB / 3.138 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/8.147, allocations: 43.75 kB / 3.138 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/8.147, allocations: 0 / 3.138 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.0023/8.149, allocations: 1.396 MB / 3.14 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/8.149, allocations: 113.2 kB / 3.14 GB, free: 130 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/8.15, allocations: 0.6147 MB / 3.14 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/8.15, allocations: 36.83 kB / 3.14 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/8.15, allocations: 423.3 kB / 3.141 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/8.15, allocations: 164 kB / 3.141 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/8.15, allocations: 10.94 kB / 3.141 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.032e-05/8.15, allocations: 333.4 kB / 3.141 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/8.151, allocations: 176.6 kB / 3.141 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/8.151, allocations: 409.9 kB / 3.142 GB, free: 129 MB / 0.6823 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.001467/8.152, allocations: 0.6593 MB / 3.142 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/8.152, allocations: 3.969 kB / 3.142 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008526/8.153, allocations: 0.6504 MB / 3.143 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/8.153, allocations: 10.28 kB / 3.143 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/8.153, allocations: 3.594 kB / 3.143 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/8.153, allocations: 10.41 kB / 3.143 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/8.154, allocations: 126.5 kB / 3.143 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/8.154, allocations: 20.12 kB / 3.143 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/8.154, allocations: 52.58 kB / 3.143 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/8.155, allocations: 25.62 kB / 3.143 GB, free: 128.8 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/8.155, allocations: 150.7 kB / 3.143 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/8.155, allocations: 95.62 kB / 3.144 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/8.155, allocations: 89.52 kB / 3.144 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/8.155, allocations: 3.781 kB / 3.144 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/8.155, allocations: 6.938 kB / 3.144 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005453/8.156, allocations: 0.6777 MB / 3.144 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/8.158, allocations: 1.606 MB / 3.146 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/8.158, allocations: 7.062 kB / 3.146 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/8.158, allocations: 96.66 kB / 3.146 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/8.158, allocations: 10.59 kB / 3.146 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/8.158, allocations: 21.62 kB / 3.146 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/8.158, allocations: 8.562 kB / 3.146 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/8.158, allocations: 8.812 kB / 3.146 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/8.159, allocations: 1.039 MB / 3.147 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/8.159, allocations: 205.9 kB / 3.147 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/8.159, allocations: 16.03 kB / 3.147 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/8.16, allocations: 40.66 kB / 3.147 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/8.16, allocations: 43.17 kB / 3.147 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/8.16, allocations: 20.47 kB / 3.147 GB, free: 127 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005252/8.161, allocations: 0.4958 MB / 3.148 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/8.161, allocations: 0 / 3.148 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001364/8.162, allocations: 359.5 kB / 3.148 GB, free: 126.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/8.165, allocations: 1.667 MB / 3.15 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008485/8.165, allocations: 453.7 kB / 3.15 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/8.165, allocations: 3.406 kB / 3.15 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/8.166, allocations: 203.4 kB / 3.15 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/8.168, allocations: 450.6 kB / 3.151 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/8.17, allocations: 1.303 MB / 3.152 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/8.17, allocations: 1.047 MB / 3.153 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006732/8.171, allocations: 191.3 kB / 3.153 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/8.171, allocations: 66.16 kB / 3.153 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.143e-06/8.171, allocations: 0 / 3.153 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.04928/8.22, allocations: 38.09 MB / 3.191 GB, free: 120.6 MB / 0.6823 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)