Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006997/0.006997, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001634/0.001634, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.821/0.821, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.77 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.92 MB / 0.6646 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6675/0.8256, allocations: 242.4 MB / 0.9014 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.8529, allocations: 15.9 MB / 0.9169 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.8559, allocations: 75.56 kB / 0.917 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.8602, allocations: 1.216 MB / 0.9181 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.8724, allocations: 3.963 MB / 0.922 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.8777, allocations: 1.816 MB / 0.9238 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009797/0.8875, allocations: 5.255 MB / 0.9289 GB, free: 316 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004292/0.8919, allocations: 1.665 MB / 0.9305 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008423/0.9003, allocations: 2.697 MB / 0.9332 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005455/0.9058, allocations: 1.711 MB / 0.9348 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.907, allocations: 176 kB / 0.935 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007657/0.9147, allocations: 2.712 MB / 0.9377 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.9164, allocations: 0.7713 MB / 0.9384 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.9196, allocations: 1.143 MB / 0.9395 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008156/0.9278, allocations: 3.572 MB / 0.943 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-05/0.9278, allocations: 0 / 0.943 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.073e-06/0.9278, allocations: 0 / 0.943 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000105/0.9279, allocations: 0 / 0.943 GB, free: 1.801 MB / 0.7012 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.005634/0.9336, allocations: 2.499 MB / 0.9455 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9336, allocations: 9.109 kB / 0.9455 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.9368, allocations: 0.502 MB / 0.946 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.9392, allocations: 1.37 MB / 0.9473 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.9394, allocations: 178.2 kB / 0.9475 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.9396, allocations: 151.9 kB / 0.9476 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.9427, allocations: 1.73 MB / 0.9493 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.9427, allocations: 7.938 kB / 0.9493 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.9429, allocations: 60 kB / 0.9494 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/0.943, allocations: 62.69 kB / 0.9494 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.9456, allocations: 1.373 MB / 0.9508 GB, free: 9.66 MB / 0.7169 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.01063/0.9562, allocations: 8.191 MB / 0.9588 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.9578, allocations: 0.8969 MB / 0.9596 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.9589, allocations: 0.5341 MB / 0.9602 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.9595, allocations: 324.1 kB / 0.9605 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.9596, allocations: 43.56 kB / 0.9605 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 2.465e-06/0.9596, allocations: 0 / 0.9605 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.007589/0.9672, allocations: 3.116 MB / 0.9636 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.9672, allocations: 64.41 kB / 0.9636 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.9693, allocations: 1.262 MB / 0.9649 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.9694, allocations: 49.7 kB / 0.9649 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/0.9701, allocations: 0.8133 MB / 0.9657 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.9705, allocations: 362.7 kB / 0.966 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.971, allocations: 226.7 kB / 0.9663 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.9712, allocations: 357.9 kB / 0.9666 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.9722, allocations: 449.8 kB / 0.967 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.9737, allocations: 0.8274 MB / 0.9678 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.976, allocations: 1.248 MB / 0.9691 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.976, allocations: 7.938 kB / 0.9691 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002789/0.9788, allocations: 1.398 MB / 0.9704 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.9789, allocations: 8 kB / 0.9704 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.9789, allocations: 12 kB / 0.9704 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/0.9789, allocations: 12 kB / 0.9705 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9802, allocations: 276.2 kB / 0.9707 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.9802, allocations: 23.92 kB / 0.9707 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.9817, allocations: 75.8 kB / 0.9708 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9818, allocations: 58.56 kB / 0.9709 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001457/0.9833, allocations: 0.7679 MB / 0.9716 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/0.9845, allocations: 0.8214 MB / 0.9724 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002009/0.9865, allocations: 1.237 MB / 0.9736 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.602e-05/0.9866, allocations: 4 kB / 0.9736 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002755/0.9893, allocations: 1.383 MB / 0.975 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9894, allocations: 8 kB / 0.975 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.9894, allocations: 12 kB / 0.975 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.9894, allocations: 16 kB / 0.975 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.9905, allocations: 267.6 kB / 0.9753 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/0.9906, allocations: 23.92 kB / 0.9753 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.9921, allocations: 83.98 kB / 0.9754 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.9922, allocations: 48 kB / 0.9754 GB, free: 14.92 MB / 0.7481 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.0003755/0.9926, allocations: 267.8 kB / 0.9757 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/0.9931, allocations: 162 kB / 0.9758 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.9955, allocations: 1.156 MB / 0.977 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9955, allocations: 12 kB / 0.977 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9956, allocations: 3.938 kB / 0.977 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001784/0.9973, allocations: 1.075 MB / 0.978 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/1.003, allocations: 2.773 MB / 0.9807 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.003, allocations: 8.031 kB / 0.9807 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.004, allocations: 247.7 kB / 0.981 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/1.004, allocations: 4 kB / 0.981 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/1.004, allocations: 31.98 kB / 0.981 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/1.004, allocations: 4 kB / 0.981 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.004, allocations: 7.938 kB / 0.981 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/1.007, allocations: 1.814 MB / 0.9828 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008575/1.008, allocations: 335 kB / 0.9831 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/1.009, allocations: 24.19 kB / 0.9831 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.01, allocations: 64.23 kB / 0.9832 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/1.01, allocations: 60.86 kB / 0.9833 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.01, allocations: 47.97 kB / 0.9833 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002136/1.013, allocations: 0.8348 MB / 0.9841 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/1.013, allocations: 0 / 0.9841 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00249/1.015, allocations: 0.7733 MB / 0.9849 GB, free: 5.039 MB / 0.7481 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.0007467/1.016, allocations: 277.1 kB / 0.9851 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003611/1.019, allocations: 1.728 MB / 0.9868 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.019, allocations: 3.938 kB / 0.9868 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.021, allocations: 0.5144 MB / 0.9873 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004748/1.025, allocations: 0.9148 MB / 0.9882 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006229/1.032, allocations: 3.451 MB / 0.9916 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.033, allocations: 1.449 MB / 0.993 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002276/1.035, allocations: 0.5522 MB / 0.9935 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/1.036, allocations: 127.4 kB / 0.9937 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of SimCode: time 7.41e-07/1.036, allocations: 0 / 0.9937 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of Templates: time 0.05892/1.095, allocations: 31.53 MB / 1.024 GB, free: 12.8 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)