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.00113/0.00113, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001083/0.001083, allocations: 191 kB / 17.29 MB, free: 5.516 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7652/0.7652, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3518, 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.1701/0.522, allocations: 170.8 MB / 0.7483 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3525/0.8746, allocations: 3.379 MB / 0.7516 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007445/0.8754, allocations: 20.28 kB / 0.7516 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.8763, allocations: 310.3 kB / 0.7519 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.8786, allocations: 1.009 MB / 0.7529 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.8802, allocations: 0.6685 MB / 0.7535 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.8819, allocations: 1.523 MB / 0.755 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/0.8825, allocations: 486 kB / 0.7555 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007491/0.8832, allocations: 0.5643 MB / 0.756 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.8842, allocations: 472.5 kB / 0.7565 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.8843, allocations: 53.78 kB / 0.7565 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.8859, allocations: 0.8275 MB / 0.7573 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.8862, allocations: 242.7 kB / 0.7576 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.8867, allocations: 332.5 kB / 0.7579 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.8884, allocations: 1.136 MB / 0.759 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8885, allocations: 0 / 0.759 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8885, allocations: 2.781 kB / 0.759 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.8885, allocations: 0 / 0.759 GB, free: 1.691 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.001569/0.8901, allocations: 0.9133 MB / 0.7599 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.8901, allocations: 9.938 kB / 0.7599 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.8914, allocations: 168.7 kB / 0.76 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009714/0.8924, allocations: 0.5277 MB / 0.7606 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.8924, allocations: 30.16 kB / 0.7606 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.8926, allocations: 42.72 kB / 0.7606 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.8935, allocations: 475.4 kB / 0.7611 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.8935, allocations: 3.719 kB / 0.7611 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.8936, allocations: 19.66 kB / 0.7611 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.8936, allocations: 15.38 kB / 0.7611 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.8942, allocations: 413.4 kB / 0.7615 GB, free: 16.81 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.002427/0.8966, allocations: 1.721 MB / 0.7632 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.8971, allocations: 304.2 kB / 0.7635 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.8973, allocations: 186.7 kB / 0.7637 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.8975, allocations: 94.16 kB / 0.7638 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.8975, allocations: 47.31 kB / 0.7638 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.235e-06/0.8975, allocations: 0.9375 kB / 0.7638 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002101/0.8996, allocations: 1.053 MB / 0.7648 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.8997, allocations: 57.25 kB / 0.7649 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.9002, allocations: 456.4 kB / 0.7653 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.9003, allocations: 31.8 kB / 0.7653 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.9004, allocations: 258.5 kB / 0.7656 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.9005, allocations: 113.9 kB / 0.7657 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.9006, allocations: 65.95 kB / 0.7658 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9008, allocations: 359 kB / 0.7661 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.9009, allocations: 128.1 kB / 0.7662 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.9012, allocations: 207.8 kB / 0.7664 GB, free: 14.71 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.001784/0.903, allocations: 0.8487 MB / 0.7673 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.903, allocations: 1.781 kB / 0.7673 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005307/0.9035, allocations: 417.9 kB / 0.7677 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9035, allocations: 5.938 kB / 0.7677 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.9035, allocations: 3.859 kB / 0.7677 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.9036, allocations: 3.312 kB / 0.7677 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.9039, allocations: 68.19 kB / 0.7677 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9039, allocations: 9.578 kB / 0.7677 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.9043, allocations: 17.34 kB / 0.7678 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.9044, allocations: 13.25 kB / 0.7678 GB, free: 14.49 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.0002857/0.9047, allocations: 212.6 kB / 0.768 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.9048, allocations: 58.09 kB / 0.768 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.9049, allocations: 61.44 kB / 0.7681 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9049, allocations: 3.844 kB / 0.7681 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.9049, allocations: 0 / 0.7681 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005389/0.9055, allocations: 414.2 kB / 0.7685 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.9074, allocations: 1.252 MB / 0.7697 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.9074, allocations: 4.562 kB / 0.7697 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.9078, allocations: 74.25 kB / 0.7698 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.9078, allocations: 5.562 kB / 0.7698 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.9079, allocations: 14.98 kB / 0.7698 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.9079, allocations: 5.469 kB / 0.7698 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.9079, allocations: 7.5 kB / 0.7698 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.9088, allocations: 0.7238 MB / 0.7705 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.9091, allocations: 173.3 kB / 0.7707 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.9092, allocations: 11.66 kB / 0.7707 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.9096, allocations: 15.11 kB / 0.7707 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.9096, allocations: 41.67 kB / 0.7708 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.9097, allocations: 21.67 kB / 0.7708 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003067/0.91, allocations: 326.2 kB / 0.7711 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.91, allocations: 0.8438 kB / 0.7711 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005552/0.9106, allocations: 143.1 kB / 0.7712 GB, free: 13.23 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.0004026/0.911, allocations: 170 kB / 0.7714 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.9115, allocations: 324.5 kB / 0.7717 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9115, allocations: 1.062 kB / 0.7717 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.9117, allocations: 160.4 kB / 0.7718 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.9132, allocations: 371 kB / 0.7722 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.9148, allocations: 1.12 MB / 0.7733 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.9153, allocations: 0.8861 MB / 0.7742 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005014/0.9158, allocations: 129.5 kB / 0.7743 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.916, allocations: 44.61 kB / 0.7743 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of SimCode: time 2.425e-06/0.916, allocations: 0.75 kB / 0.7743 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.01741/0.9334, allocations: 11.09 MB / 0.7852 GB, free: 11.35 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)