Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 110 kB / 16.41 MB, free: 6.473 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.00166/0.00166, allocations: 185.5 kB / 17.34 MB, free: 5.75 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.614/1.614, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8807/0.8807, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.69 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1704, allocations: 80.94 MB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6176/0.7881, allocations: 190.8 MB / 0.8517 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.7991, allocations: 5.678 MB / 0.8573 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.8014, allocations: 43.5 kB / 0.8573 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.8037, allocations: 0.5891 MB / 0.8579 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.8093, allocations: 1.668 MB / 0.8595 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004358/0.8137, allocations: 1.215 MB / 0.8607 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004581/0.8182, allocations: 2.515 MB / 0.8631 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.8196, allocations: 0.8299 MB / 0.864 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.8219, allocations: 1.072 MB / 0.865 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.8242, allocations: 0.8064 MB / 0.8658 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.8244, allocations: 104 kB / 0.8659 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.8278, allocations: 1.532 MB / 0.8674 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000651/0.8285, allocations: 498.6 kB / 0.8679 GB, free: 8 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009902/0.8294, allocations: 0.6223 MB / 0.8685 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.8337, allocations: 2.129 MB / 0.8705 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8337, allocations: 0 / 0.8705 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.073e-06/0.8337, allocations: 0 / 0.8705 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.8337, allocations: 0 / 0.8705 GB, free: 13.25 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002833/0.8365, allocations: 1.513 MB / 0.872 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8366, allocations: 9.109 kB / 0.872 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.8387, allocations: 338.9 kB / 0.8724 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.8402, allocations: 0.8239 MB / 0.8732 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.8403, allocations: 66 kB / 0.8732 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.8404, allocations: 87.94 kB / 0.8733 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.8424, allocations: 1.063 MB / 0.8743 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.8424, allocations: 4 kB / 0.8744 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.8425, allocations: 36 kB / 0.8744 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/0.8425, allocations: 37.94 kB / 0.8744 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.8441, allocations: 0.8275 MB / 0.8752 GB, free: 8.312 MB / 0.6387 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.006262/0.8504, allocations: 4.269 MB / 0.8794 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.8511, allocations: 359.4 kB / 0.8797 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.8514, allocations: 203.6 kB / 0.8799 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.8516, allocations: 97.09 kB / 0.88 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.8516, allocations: 42.56 kB / 0.8801 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/0.8516, allocations: 0 / 0.8801 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002874/0.8545, allocations: 1.344 MB / 0.8814 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.8546, allocations: 55.41 kB / 0.8814 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.8561, allocations: 1.004 MB / 0.8824 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.8562, allocations: 37.7 kB / 0.8825 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.8566, allocations: 0.4963 MB / 0.8829 GB, free: 20 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.8568, allocations: 142.9 kB / 0.8831 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.857, allocations: 130.2 kB / 0.8832 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8572, allocations: 330 kB / 0.8835 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.8577, allocations: 233.2 kB / 0.8837 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.8583, allocations: 441.5 kB / 0.8842 GB, free: 14.67 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.861, allocations: 1.203 MB / 0.8853 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.861, allocations: 4 kB / 0.8853 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001606/0.8626, allocations: 0.7773 MB / 0.8861 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.8626, allocations: 11.75 kB / 0.8861 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.8627, allocations: 8 kB / 0.8861 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.8627, allocations: 11.94 kB / 0.8861 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.8633, allocations: 145 kB / 0.8863 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.8633, allocations: 11.94 kB / 0.8863 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.8642, allocations: 59.94 kB / 0.8863 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.8643, allocations: 28 kB / 0.8864 GB, free: 12.32 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0005193/0.8648, allocations: 309.5 kB / 0.8867 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.865, allocations: 103.3 kB / 0.8867 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.8652, allocations: 105 kB / 0.8868 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8652, allocations: 5 kB / 0.8869 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8652, allocations: 0 / 0.8869 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008165/0.866, allocations: 0.6828 MB / 0.8875 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.8688, allocations: 1.581 MB / 0.8891 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.8688, allocations: 7.938 kB / 0.8891 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.8692, allocations: 88.33 kB / 0.8892 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.8692, allocations: 4 kB / 0.8892 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.8692, allocations: 24.81 kB / 0.8892 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.8692, allocations: 4.547 kB / 0.8892 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.8692, allocations: 4 kB / 0.8892 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.8705, allocations: 0.8534 MB / 0.89 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.871, allocations: 248.4 kB / 0.8903 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.8711, allocations: 15.98 kB / 0.8903 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.8717, allocations: 41.09 kB / 0.8903 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.8718, allocations: 39.84 kB / 0.8904 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.8719, allocations: 27.98 kB / 0.8904 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001135/0.873, allocations: 0.7077 MB / 0.8911 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.873, allocations: 0 / 0.8911 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009279/0.8739, allocations: 255.9 kB / 0.8913 GB, free: 6.938 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0005541/0.8745, allocations: 201.8 kB / 0.8915 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.8755, allocations: 488 kB / 0.892 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.8755, allocations: 4 kB / 0.892 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.8758, allocations: 181.1 kB / 0.8922 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.8787, allocations: 0.6246 MB / 0.8928 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.8821, allocations: 1.934 MB / 0.8946 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.8829, allocations: 1.099 MB / 0.8957 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.8832, allocations: 75.42 kB / 0.8958 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of SimCode: time 1.302e-06/0.8832, allocations: 4 kB / 0.8958 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of Templates: time 0.02948/0.9127, allocations: 16.6 MB / 0.912 GB, free: 1.773 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)