Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006599/0.006599, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001096/0.001096, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8388/0.8388, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.23 kB / 0.5814 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1619, allocations: 80.2 MB / 0.6597 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6533/0.8152, allocations: 242.4 MB / 0.8964 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.8362, allocations: 15.89 MB / 0.9119 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004193/0.8405, allocations: 76.31 kB / 0.912 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004099/0.8446, allocations: 1.221 MB / 0.9132 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.8576, allocations: 3.951 MB / 0.917 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0077/0.8653, allocations: 1.823 MB / 0.9188 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009102/0.8744, allocations: 5.259 MB / 0.9239 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004604/0.8791, allocations: 1.674 MB / 0.9256 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008345/0.8875, allocations: 2.694 MB / 0.9282 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006148/0.8937, allocations: 1.706 MB / 0.9299 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.8947, allocations: 172.8 kB / 0.93 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008693/0.9034, allocations: 2.713 MB / 0.9327 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.9052, allocations: 0.767 MB / 0.9334 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003786/0.909, allocations: 1.15 MB / 0.9346 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.9198, allocations: 3.571 MB / 0.9381 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9198, allocations: 7.875 kB / 0.9381 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9198, allocations: 0 / 0.9381 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001373/0.92, allocations: 0 / 0.9381 GB, free: 0.8867 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006698/0.9267, allocations: 2.497 MB / 0.9405 GB, free: 14.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.9267, allocations: 8.031 kB / 0.9405 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.9303, allocations: 0.5148 MB / 0.941 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.9336, allocations: 1.352 MB / 0.9423 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.9339, allocations: 182.2 kB / 0.9425 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/0.9343, allocations: 151.8 kB / 0.9426 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/0.938, allocations: 1.729 MB / 0.9443 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/0.9381, allocations: 7.984 kB / 0.9443 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.9383, allocations: 58.89 kB / 0.9444 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.137e-05/0.9384, allocations: 74.56 kB / 0.9445 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.9412, allocations: 1.369 MB / 0.9458 GB, free: 8.809 MB / 0.67 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.01096/0.9522, allocations: 8.184 MB / 0.9538 GB, free: 4 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.9538, allocations: 0.9028 MB / 0.9547 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/0.9547, allocations: 0.5302 MB / 0.9552 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.9553, allocations: 324 kB / 0.9555 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.9554, allocations: 47.56 kB / 0.9556 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=96): time 2.835e-06/0.9554, allocations: 0 / 0.9556 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.007168/0.9626, allocations: 3.111 MB / 0.9586 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.9626, allocations: 60.41 kB / 0.9587 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.9645, allocations: 1.27 MB / 0.9599 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.9647, allocations: 49.7 kB / 0.9599 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/0.9653, allocations: 0.8076 MB / 0.9607 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.9657, allocations: 363.9 kB / 0.9611 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.9661, allocations: 230.7 kB / 0.9613 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.9662, allocations: 353.9 kB / 0.9616 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008426/0.9671, allocations: 449.8 kB / 0.9621 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.9682, allocations: 0.8312 MB / 0.9629 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.9702, allocations: 1.244 MB / 0.9641 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.9702, allocations: 7.984 kB / 0.9641 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00268/0.9729, allocations: 1.398 MB / 0.9655 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.9729, allocations: 10.03 kB / 0.9655 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.9729, allocations: 8 kB / 0.9655 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.973, allocations: 16 kB / 0.9655 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.9742, allocations: 280 kB / 0.9658 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-05/0.9742, allocations: 17.5 kB / 0.9658 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.9759, allocations: 76.66 kB / 0.9659 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.976, allocations: 56 kB / 0.9659 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001615/0.9776, allocations: 0.764 MB / 0.9666 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001198/0.9788, allocations: 0.8235 MB / 0.9675 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002049/0.9809, allocations: 1.244 MB / 0.9687 GB, free: 28 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-05/0.9809, allocations: 8 kB / 0.9687 GB, free: 20 kB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003063/0.984, allocations: 1.384 MB / 0.97 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.984, allocations: 11.94 kB / 0.97 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.984, allocations: 15.98 kB / 0.9701 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.9841, allocations: 12 kB / 0.9701 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.9853, allocations: 271.6 kB / 0.9703 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.611e-05/0.9853, allocations: 24.73 kB / 0.9703 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.9869, allocations: 75.98 kB / 0.9704 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.9871, allocations: 51.98 kB / 0.9705 GB, free: 14.18 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003901/0.9875, allocations: 256 kB / 0.9707 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.9879, allocations: 166 kB / 0.9709 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.9904, allocations: 1.16 MB / 0.972 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.9905, allocations: 16 kB / 0.972 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9905, allocations: 0 / 0.972 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/0.9922, allocations: 1.068 MB / 0.9731 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00528/0.9975, allocations: 2.783 MB / 0.9758 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.9975, allocations: 4.219 kB / 0.9758 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9988, allocations: 247.7 kB / 0.976 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.9988, allocations: 4 kB / 0.976 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/0.9989, allocations: 31.98 kB / 0.9761 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.9989, allocations: 7.938 kB / 0.9761 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9989, allocations: 4 kB / 0.9761 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/1.002, allocations: 1.818 MB / 0.9778 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/1.003, allocations: 327.1 kB / 0.9782 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/1.003, allocations: 23.98 kB / 0.9782 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.004, allocations: 67.73 kB / 0.9782 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.004, allocations: 64.91 kB / 0.9783 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/1.005, allocations: 35.98 kB / 0.9783 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001357/1.006, allocations: 0.8466 MB / 0.9792 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/1.006, allocations: 3.938 kB / 0.9792 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002307/1.008, allocations: 0.7617 MB / 0.9799 GB, free: 4.324 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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.0006438/1.009, allocations: 279.4 kB / 0.9802 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003308/1.012, allocations: 1.736 MB / 0.9819 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.012, allocations: 0 / 0.9819 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009044/1.013, allocations: 0.5142 MB / 0.9824 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/1.017, allocations: 0.9242 MB / 0.9833 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/1.023, allocations: 3.44 MB / 0.9866 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.025, allocations: 1.445 MB / 0.9881 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001962/1.027, allocations: 0.5522 MB / 0.9886 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/1.027, allocations: 135.4 kB / 0.9887 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/1.027, allocations: 0 / 0.9887 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of Templates: time 0.06071/1.088, allocations: 31.53 MB / 1.02 GB, free: 12.26 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)