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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008095/0.008095, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.00207/0.00207, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9087/0.9087, allocations: 135.5 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 63.89 kB / 0.5858 GB, free: 3.148 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3689, allocations: 81.02 MB / 0.6649 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6343/1.003, allocations: 242.4 MB / 0.9016 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01944/1.023, allocations: 15.9 MB / 0.9171 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002891/1.026, allocations: 75.59 kB / 0.9172 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003121/1.029, allocations: 1.18 MB / 0.9183 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009927/1.039, allocations: 3.809 MB / 0.922 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0047/1.043, allocations: 1.818 MB / 0.9238 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007574/1.051, allocations: 5.245 MB / 0.9289 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00303/1.054, allocations: 1.671 MB / 0.9306 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/1.06, allocations: 2.607 MB / 0.9331 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/1.064, allocations: 1.698 MB / 0.9348 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004986/1.065, allocations: 173 kB / 0.9349 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00581/1.07, allocations: 2.705 MB / 0.9376 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008951/1.071, allocations: 0.7702 MB / 0.9383 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001549/1.073, allocations: 1.149 MB / 0.9395 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006218/1.079, allocations: 3.583 MB / 0.943 GB, free: 144 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.079, allocations: 2.219 kB / 0.943 GB, free: 144 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.903e-06/1.079, allocations: 1 kB / 0.943 GB, free: 144 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.094e-05/1.079, allocations: 0 / 0.943 GB, free: 144 kB / 0.6856 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.00463/1.084, allocations: 2.566 MB / 0.9455 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.084, allocations: 11.03 kB / 0.9455 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/1.084, allocations: 218.3 kB / 0.9457 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/1.087, allocations: 0.5136 MB / 0.9462 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/1.089, allocations: 1.378 MB / 0.9475 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/1.089, allocations: 182 kB / 0.9477 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/1.09, allocations: 150.1 kB / 0.9479 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/1.092, allocations: 1.735 MB / 0.9495 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/1.092, allocations: 5.891 kB / 0.9496 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/1.093, allocations: 65.11 kB / 0.9496 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/1.093, allocations: 57.45 kB / 0.9497 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/1.095, allocations: 1.371 MB / 0.951 GB, free: 13.9 MB / 0.7012 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.009992/1.105, allocations: 8.212 MB / 0.959 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/1.106, allocations: 0.8935 MB / 0.9599 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008632/1.107, allocations: 0.5354 MB / 0.9604 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/1.108, allocations: 325.6 kB / 0.9607 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/1.108, allocations: 44.66 kB / 0.9608 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 2.655e-06/1.108, allocations: 0 / 0.9608 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.007014/1.115, allocations: 3.158 MB / 0.9639 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.115, allocations: 60.81 kB / 0.9639 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.117, allocations: 1.261 MB / 0.9651 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.117, allocations: 51.42 kB / 0.9652 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007142/1.117, allocations: 0.828 MB / 0.966 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/1.118, allocations: 386.1 kB / 0.9664 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/1.118, allocations: 220.9 kB / 0.9666 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.118, allocations: 359.2 kB / 0.9669 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/1.119, allocations: 441.7 kB / 0.9673 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.12, allocations: 0.8286 MB / 0.9682 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/1.122, allocations: 1.25 MB / 0.9694 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.122, allocations: 2.125 kB / 0.9694 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002422/1.125, allocations: 1.405 MB / 0.9708 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.125, allocations: 10.97 kB / 0.9708 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.125, allocations: 7.719 kB / 0.9708 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.771e-05/1.125, allocations: 27.48 kB / 0.9708 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.126, allocations: 276.5 kB / 0.9711 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/1.126, allocations: 22.08 kB / 0.9711 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.127, allocations: 65.61 kB / 0.9711 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/1.127, allocations: 51.73 kB / 0.9712 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001399/1.129, allocations: 0.7773 MB / 0.972 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001181/1.13, allocations: 0.8147 MB / 0.9727 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002002/1.132, allocations: 1.236 MB / 0.974 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/1.132, allocations: 4 kB / 0.974 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002566/1.135, allocations: 1.389 MB / 0.9753 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.135, allocations: 14.34 kB / 0.9753 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.135, allocations: 8 kB / 0.9753 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.135, allocations: 16 kB / 0.9754 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.136, allocations: 270.2 kB / 0.9756 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.12e-05/1.136, allocations: 33.08 kB / 0.9756 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.137, allocations: 79.89 kB / 0.9757 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-05/1.137, allocations: 48 kB / 0.9758 GB, free: 12.61 MB / 0.7169 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.0003389/1.138, allocations: 263.9 kB / 0.976 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/1.138, allocations: 170.9 kB / 0.9762 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/1.14, allocations: 1.153 MB / 0.9773 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.14, allocations: 19.88 kB / 0.9773 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.14, allocations: 3.938 kB / 0.9773 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001782/1.142, allocations: 1.078 MB / 0.9784 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/1.147, allocations: 2.781 MB / 0.9811 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.147, allocations: 4 kB / 0.9811 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.148, allocations: 246.1 kB / 0.9813 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.148, allocations: 4 kB / 0.9813 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/1.148, allocations: 28.2 kB / 0.9814 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/1.148, allocations: 10.53 kB / 0.9814 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.148, allocations: 4 kB / 0.9814 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/1.151, allocations: 1.818 MB / 0.9832 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/1.152, allocations: 350.5 kB / 0.9835 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.152, allocations: 20 kB / 0.9835 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.153, allocations: 61.62 kB / 0.9836 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.153, allocations: 60.86 kB / 0.9836 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/1.153, allocations: 43.97 kB / 0.9837 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001193/1.155, allocations: 0.8387 MB / 0.9845 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.155, allocations: 0 / 0.9845 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001913/1.156, allocations: 0.7695 MB / 0.9852 GB, free: 2.781 MB / 0.7169 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.003813/1.16, allocations: 2.539 MB / 0.9877 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00327/1.164, allocations: 1.738 MB / 0.9894 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.164, allocations: 0 / 0.9894 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009552/1.165, allocations: 0.5167 MB / 0.9899 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/1.169, allocations: 0.9217 MB / 0.9908 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.188, allocations: 12.03 MB / 1.003 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.189, allocations: 1.441 MB / 1.004 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001853/1.191, allocations: 0.5561 MB / 1.005 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009409/1.192, allocations: 0.6853 MB / 1.005 GB, free: 14 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.192, allocations: 0 / 1.005 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6212/1.813, allocations: 45.05 MB / 1.049 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/13.25, allocations: 10.75 kB / 1.049 GB, free: 1.543 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)