Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001744/0.001744, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7862/0.7862, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.457/1.457, allocations: 222.9 MB / 403.3 MB, free: 7.027 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.0009859/0.000986, allocations: 101.2 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 52.11 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1386, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5146/0.6532, allocations: 185 MB / 0.8209 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.669, allocations: 13.12 MB / 0.8337 GB, free: 12.93 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.6703, allocations: 31.81 kB / 0.8337 GB, free: 12.9 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.6715, allocations: 346 kB / 0.834 GB, free: 12.56 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.6744, allocations: 1.093 MB / 0.8351 GB, free: 11.46 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.6761, allocations: 0.6221 MB / 0.8357 GB, free: 10.85 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00306/0.6792, allocations: 2.776 MB / 0.8384 GB, free: 8.062 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.6802, allocations: 0.7309 MB / 0.8391 GB, free: 7.305 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.6842, allocations: 1.662 MB / 0.8408 GB, free: 5.637 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.6862, allocations: 0.6846 MB / 0.8414 GB, free: 4.953 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.6864, allocations: 44 kB / 0.8415 GB, free: 4.91 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.6885, allocations: 0.9819 MB / 0.8424 GB, free: 3.926 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004877/0.689, allocations: 347 kB / 0.8428 GB, free: 3.586 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008494/0.6899, allocations: 473.5 kB / 0.8432 GB, free: 3.121 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.6921, allocations: 1.499 MB / 0.8447 GB, free: 1.617 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6922, allocations: 0 / 0.8447 GB, free: 1.617 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6922, allocations: 0 / 0.8447 GB, free: 1.617 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.959e-05/0.6922, allocations: 0 / 0.8447 GB, free: 1.617 MB / 0.573 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.002387/0.6946, allocations: 1.228 MB / 0.8459 GB, free: 348 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6947, allocations: 12.03 kB / 0.8459 GB, free: 336 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.6959, allocations: 214.6 kB / 0.8461 GB, free: 120 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6974, allocations: 0.6441 MB / 0.8467 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.6975, allocations: 62 kB / 0.8468 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.6976, allocations: 76 kB / 0.8469 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6989, allocations: 0.9326 MB / 0.8478 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6989, allocations: 4 kB / 0.8478 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.699, allocations: 39.94 kB / 0.8478 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.6991, allocations: 33.23 kB / 0.8478 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009806/0.7001, allocations: 0.6138 MB / 0.8484 GB, free: 13.59 MB / 0.5886 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.00439/0.7045, allocations: 4.582 MB / 0.8529 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.7052, allocations: 0.5404 MB / 0.8534 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.7055, allocations: 242.4 kB / 0.8537 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.7057, allocations: 97.09 kB / 0.8538 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.7057, allocations: 42.56 kB / 0.8538 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.7057, allocations: 0 / 0.8538 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45): time 0.00263/0.7084, allocations: 1.579 MB / 0.8553 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.7084, allocations: 114.8 kB / 0.8555 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.7092, allocations: 0.7118 MB / 0.8562 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.7093, allocations: 37.7 kB / 0.8562 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.7096, allocations: 431.6 kB / 0.8566 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.7097, allocations: 161.6 kB / 0.8568 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.7099, allocations: 118.2 kB / 0.8569 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.71, allocations: 330 kB / 0.8572 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.7103, allocations: 185.2 kB / 0.8574 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.7108, allocations: 413 kB / 0.8578 GB, free: 3.465 MB / 0.5886 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.002184/0.713, allocations: 1.17 MB / 0.8589 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.713, allocations: 4 kB / 0.8589 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009667/0.714, allocations: 0.6752 MB / 0.8596 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.714, allocations: 11.94 kB / 0.8596 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.714, allocations: 4 kB / 0.8596 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.714, allocations: 12 kB / 0.8596 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.7145, allocations: 123.8 kB / 0.8597 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.7145, allocations: 16.58 kB / 0.8597 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.7151, allocations: 49.88 kB / 0.8598 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.7152, allocations: 32 kB / 0.8598 GB, free: 1.262 MB / 0.5886 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.0003288/0.7155, allocations: 274.8 kB / 0.8601 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.7157, allocations: 87 kB / 0.8601 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.7158, allocations: 87.66 kB / 0.8602 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.7159, allocations: 8 kB / 0.8602 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7159, allocations: 0 / 0.8602 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000681/0.7166, allocations: 0.695 MB / 0.8609 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.719, allocations: 1.642 MB / 0.8625 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.719, allocations: 4 kB / 0.8625 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.7195, allocations: 103.8 kB / 0.8626 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.7195, allocations: 8.094 kB / 0.8626 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.7195, allocations: 12 kB / 0.8626 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.7195, allocations: 7.984 kB / 0.8626 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.7196, allocations: 12.39 kB / 0.8627 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/0.7245, allocations: 3.672 MB / 0.8662 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.7248, allocations: 208 kB / 0.8664 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.7249, allocations: 12 kB / 0.8664 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.7254, allocations: 47.84 kB / 0.8665 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.7255, allocations: 31.91 kB / 0.8665 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.7255, allocations: 27.92 kB / 0.8666 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005984/0.7262, allocations: 0.5146 MB / 0.8671 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7262, allocations: 0 / 0.8671 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009984/0.7272, allocations: 304 kB / 0.8673 GB, free: 9.117 MB / 0.6042 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.0004748/0.7276, allocations: 198.3 kB / 0.8675 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.7284, allocations: 475.5 kB / 0.868 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7285, allocations: 0 / 0.868 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.7288, allocations: 218 kB / 0.8682 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.7309, allocations: 459.1 kB / 0.8686 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.7338, allocations: 2.25 MB / 0.8708 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.7345, allocations: 1.036 MB / 0.8718 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000737/0.7353, allocations: 211 kB / 0.872 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.7355, allocations: 67.42 kB / 0.8721 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.7355, allocations: 0 / 0.8721 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of Templates: time 0.02736/0.7629, allocations: 15.41 MB / 0.8872 GB, free: 4.91 MB / 0.6198 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)