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.001471/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001635/0.001635, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.077/1.077, allocations: 135.1 MB / 425.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 68.17 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1932, allocations: 80.92 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6218/0.815, allocations: 240.5 MB / 0.8185 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.8374, allocations: 16.07 MB / 0.8342 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.8402, allocations: 75.5 kB / 0.8343 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.844, allocations: 1.018 MB / 0.8353 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009211/0.8532, allocations: 3.6 MB / 0.8388 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.8575, allocations: 1.616 MB / 0.8404 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00812/0.8656, allocations: 7.414 MB / 0.8476 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.8683, allocations: 1.41 MB / 0.849 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.8738, allocations: 2.342 MB / 0.8513 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.8778, allocations: 1.79 MB / 0.853 GB, free: 9.41 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006498/0.8785, allocations: 100 kB / 0.8531 GB, free: 9.312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006174/0.8847, allocations: 3.145 MB / 0.8562 GB, free: 6.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.886, allocations: 0.6971 MB / 0.8569 GB, free: 5.461 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.8883, allocations: 1.073 MB / 0.8579 GB, free: 4.383 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005978/0.8942, allocations: 3.641 MB / 0.8615 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8943, allocations: 0 / 0.8615 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8943, allocations: 7.938 kB / 0.8615 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.513e-05/0.8944, allocations: 0 / 0.8615 GB, free: 0.7227 MB / 0.67 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.2916/1.186, allocations: 2.487 MB / 0.8639 GB, free: 224.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.186, allocations: 9.375 kB / 0.8639 GB, free: 224.6 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/1.189, allocations: 0.5064 MB / 0.8644 GB, free: 224.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/1.191, allocations: 1.273 MB / 0.8657 GB, free: 224 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.191, allocations: 170.3 kB / 0.8658 GB, free: 223.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/1.192, allocations: 158.5 kB / 0.866 GB, free: 223.9 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/1.194, allocations: 1.736 MB / 0.8677 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/1.194, allocations: 6.5 kB / 0.8677 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/1.194, allocations: 64.75 kB / 0.8677 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/1.194, allocations: 59.36 kB / 0.8678 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/1.197, allocations: 1.369 MB / 0.8691 GB, free: 222.7 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.00806/1.205, allocations: 8.181 MB / 0.8771 GB, free: 216.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.206, allocations: 0.8996 MB / 0.878 GB, free: 216.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/1.207, allocations: 0.5301 MB / 0.8785 GB, free: 216 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/1.207, allocations: 327.7 kB / 0.8788 GB, free: 215.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.208, allocations: 49.69 kB / 0.8789 GB, free: 215.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.685e-06/1.208, allocations: 0 / 0.8789 GB, free: 215.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.006643/1.214, allocations: 3.103 MB / 0.8819 GB, free: 214.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/1.214, allocations: 61.59 kB / 0.882 GB, free: 214.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.216, allocations: 1.262 MB / 0.8832 GB, free: 213.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.236e-05/1.216, allocations: 50.7 kB / 0.8832 GB, free: 213.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/1.216, allocations: 0.8188 MB / 0.884 GB, free: 213 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/1.216, allocations: 369.5 kB / 0.8844 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/1.217, allocations: 222.4 kB / 0.8846 GB, free: 212.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/1.217, allocations: 355.5 kB / 0.8849 GB, free: 212.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/1.217, allocations: 441 kB / 0.8854 GB, free: 212.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/1.218, allocations: 0.8388 MB / 0.8862 GB, free: 211.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/1.22, allocations: 1.244 MB / 0.8874 GB, free: 210.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.22, allocations: 6.844 kB / 0.8874 GB, free: 210.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002226/1.222, allocations: 1.397 MB / 0.8888 GB, free: 210.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.222, allocations: 11.39 kB / 0.8888 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.222, allocations: 11.78 kB / 0.8888 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.222, allocations: 17.94 kB / 0.8888 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.223, allocations: 270.9 kB / 0.8891 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/1.224, allocations: 22.81 kB / 0.8891 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/1.225, allocations: 165.9 kB / 0.8892 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.226, allocations: 52 kB / 0.8893 GB, free: 210.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00156/1.227, allocations: 0.7685 MB / 0.89 GB, free: 209.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009519/1.228, allocations: 0.8207 MB / 0.8909 GB, free: 209.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/1.23, allocations: 1.238 MB / 0.8921 GB, free: 208.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.041e-06/1.23, allocations: 3.656 kB / 0.8921 GB, free: 208.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002259/1.232, allocations: 1.385 MB / 0.8934 GB, free: 207.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.232, allocations: 7.875 kB / 0.8934 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.232, allocations: 13.5 kB / 0.8934 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.232, allocations: 17.36 kB / 0.8935 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.233, allocations: 273.5 kB / 0.8937 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/1.233, allocations: 25.73 kB / 0.8937 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.235, allocations: 162 kB / 0.8939 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/1.235, allocations: 52.05 kB / 0.8939 GB, free: 207.8 MB / 0.67 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.0003513/1.235, allocations: 268.3 kB / 0.8942 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/1.236, allocations: 165.4 kB / 0.8944 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/1.238, allocations: 1.15 MB / 0.8955 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.238, allocations: 10.97 kB / 0.8955 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.238, allocations: 0 / 0.8955 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001628/1.239, allocations: 1.072 MB / 0.8965 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/1.245, allocations: 2.786 MB / 0.8993 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.245, allocations: 5.25 kB / 0.8993 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.246, allocations: 246.3 kB / 0.8995 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/1.246, allocations: 8.281 kB / 0.8995 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/1.246, allocations: 32.72 kB / 0.8995 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/1.246, allocations: 6.125 kB / 0.8995 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.246, allocations: 1.844 kB / 0.8995 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/1.25, allocations: 1.807 MB / 0.9013 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/1.251, allocations: 341.2 kB / 0.9016 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.251, allocations: 28.45 kB / 0.9017 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.252, allocations: 141.6 kB / 0.9018 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.252, allocations: 63.33 kB / 0.9019 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/1.253, allocations: 36.56 kB / 0.9019 GB, free: 204.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001309/1.254, allocations: 0.8435 MB / 0.9027 GB, free: 203.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.21e-07/1.254, allocations: 0 / 0.9027 GB, free: 203.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002316/1.256, allocations: 0.7682 MB / 0.9035 GB, free: 203.7 MB / 0.67 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.0006141/1.257, allocations: 271.3 kB / 0.9037 GB, free: 203.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00322/1.26, allocations: 1.726 MB / 0.9054 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.26, allocations: 5.031 kB / 0.9054 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009112/1.261, allocations: 0.5183 MB / 0.9059 GB, free: 202.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005708/1.267, allocations: 0.9659 MB / 0.9069 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008822/1.276, allocations: 4.162 MB / 0.9109 GB, free: 200.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/1.278, allocations: 1.443 MB / 0.9123 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00371/1.282, allocations: 0.5597 MB / 0.9129 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007278/1.282, allocations: 134.3 kB / 0.913 GB, free: 199.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.843e-06/1.282, allocations: 0 / 0.913 GB, free: 199.2 MB / 0.67 GB Notification: Performance of Templates: time 0.06172/1.344, allocations: 30.45 MB / 0.9427 GB, free: 184.9 MB / 0.67 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)