Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001502/0.001503, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.401/1.401, 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/package.mo): time 0.8212/0.8212, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 67.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.37, allocations: 80.18 MB / 0.5815 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1814/0.5514, allocations: 170.8 MB / 0.7483 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3758/0.9272, allocations: 3.374 MB / 0.7516 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.9282, allocations: 20.38 kB / 0.7516 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.9294, allocations: 315.6 kB / 0.7519 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.9324, allocations: 1.009 MB / 0.7529 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.9342, allocations: 0.672 MB / 0.7535 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002622/0.9368, allocations: 1.522 MB / 0.755 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007961/0.9376, allocations: 481.3 kB / 0.7555 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.9389, allocations: 0.5644 MB / 0.756 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.9402, allocations: 467.9 kB / 0.7565 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.9403, allocations: 55.03 kB / 0.7565 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.9425, allocations: 0.8295 MB / 0.7573 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.9428, allocations: 238.3 kB / 0.7575 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.9433, allocations: 338.6 kB / 0.7579 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.9455, allocations: 1.13 MB / 0.759 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9455, allocations: 2.875 kB / 0.759 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9455, allocations: 0 / 0.759 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.9455, allocations: 0 / 0.759 GB, free: 1.637 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001788/0.9473, allocations: 0.9162 MB / 0.7599 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9474, allocations: 12.88 kB / 0.7599 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.9487, allocations: 169.4 kB / 0.76 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/0.9497, allocations: 0.5237 MB / 0.7606 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.9497, allocations: 30.66 kB / 0.7606 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.9499, allocations: 42.81 kB / 0.7606 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.9508, allocations: 480.7 kB / 0.7611 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.9508, allocations: 0.5 kB / 0.7611 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.9509, allocations: 19.38 kB / 0.7611 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.9509, allocations: 17.47 kB / 0.7611 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.9517, allocations: 412.3 kB / 0.7615 GB, free: 16.75 MB / 0.5919 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.002327/0.954, allocations: 1.718 MB / 0.7632 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.9544, allocations: 308.6 kB / 0.7635 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.9547, allocations: 177.2 kB / 0.7637 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.9549, allocations: 109.3 kB / 0.7638 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.9549, allocations: 41.88 kB / 0.7638 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.9549, allocations: 0.875 kB / 0.7638 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001981/0.9569, allocations: 1.056 MB / 0.7648 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.9569, allocations: 56.3 kB / 0.7649 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.9575, allocations: 455.1 kB / 0.7653 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.9575, allocations: 36.11 kB / 0.7654 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.9577, allocations: 254.7 kB / 0.7656 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.9578, allocations: 117.2 kB / 0.7657 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.9579, allocations: 68.08 kB / 0.7658 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.958, allocations: 356.6 kB / 0.7661 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.9582, allocations: 125.7 kB / 0.7662 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.9584, allocations: 208.2 kB / 0.7664 GB, free: 14.65 MB / 0.5919 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.9602, allocations: 0.8481 MB / 0.7673 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9602, allocations: 1.094 kB / 0.7673 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005597/0.9608, allocations: 422.2 kB / 0.7677 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9608, allocations: 6.344 kB / 0.7677 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9608, allocations: 0.9375 kB / 0.7677 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9608, allocations: 4.781 kB / 0.7677 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.9611, allocations: 70.81 kB / 0.7677 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9612, allocations: 7.062 kB / 0.7677 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.9616, allocations: 15.77 kB / 0.7678 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.9616, allocations: 13.81 kB / 0.7678 GB, free: 14.43 MB / 0.5919 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002638/0.9619, allocations: 213.6 kB / 0.768 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.962, allocations: 60.7 kB / 0.768 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.9621, allocations: 61.94 kB / 0.7681 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.9621, allocations: 3.781 kB / 0.7681 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.9621, allocations: 0.9375 kB / 0.7681 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005021/0.9627, allocations: 408.5 kB / 0.7685 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.9646, allocations: 1.245 MB / 0.7697 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.9646, allocations: 3.875 kB / 0.7697 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.9649, allocations: 74.95 kB / 0.7698 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.965, allocations: 5.25 kB / 0.7698 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.965, allocations: 15.78 kB / 0.7698 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/0.965, allocations: 8.844 kB / 0.7698 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.965, allocations: 7.359 kB / 0.7698 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.966, allocations: 0.7195 MB / 0.7705 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.9662, allocations: 171.8 kB / 0.7707 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.9663, allocations: 14.28 kB / 0.7707 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.9667, allocations: 15.53 kB / 0.7707 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.9668, allocations: 35.08 kB / 0.7707 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.9669, allocations: 21.38 kB / 0.7708 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003404/0.9672, allocations: 331.5 kB / 0.7711 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9672, allocations: 1.203 kB / 0.7711 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005663/0.9678, allocations: 140.2 kB / 0.7712 GB, free: 13.17 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[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 (33): * Single equations (assignments): 33 * 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.0003788/0.9682, allocations: 181.1 kB / 0.7714 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005/0.9687, allocations: 324.1 kB / 0.7717 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9687, allocations: 3.625 kB / 0.7717 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.9689, allocations: 161.6 kB / 0.7719 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.9704, allocations: 358.2 kB / 0.7722 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.972, allocations: 1.125 MB / 0.7733 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.9725, allocations: 0.8853 MB / 0.7742 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.9729, allocations: 128.9 kB / 0.7743 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.973, allocations: 41.47 kB / 0.7743 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.973, allocations: 0.8125 kB / 0.7743 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of Templates: time 0.01583/0.9888, allocations: 11.1 MB / 0.7852 GB, free: 11.29 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)