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.007592/0.007592, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001772/0.001772, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8245/0.8245, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.34 kB / 0.5851 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1694, allocations: 80.93 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7248/0.8942, allocations: 242.4 MB / 0.9009 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02176/0.916, allocations: 15.89 MB / 0.9164 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.919, allocations: 75.56 kB / 0.9165 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.9221, allocations: 1.216 MB / 0.9176 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.9322, allocations: 3.967 MB / 0.9215 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005314/0.9375, allocations: 1.816 MB / 0.9233 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007886/0.9454, allocations: 5.256 MB / 0.9284 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.9482, allocations: 1.668 MB / 0.9301 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006606/0.9548, allocations: 2.697 MB / 0.9327 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004187/0.959, allocations: 1.71 MB / 0.9344 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000441/0.9595, allocations: 176 kB / 0.9345 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006031/0.9655, allocations: 2.712 MB / 0.9372 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009368/0.9665, allocations: 0.7752 MB / 0.9379 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.9682, allocations: 1.139 MB / 0.939 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006369/0.9746, allocations: 3.569 MB / 0.9425 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9746, allocations: 0 / 0.9425 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9746, allocations: 0 / 0.9425 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.568e-05/0.9747, allocations: 0 / 0.9425 GB, free: 2.117 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.004344/0.979, allocations: 2.503 MB / 0.945 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9791, allocations: 9.109 kB / 0.945 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/0.9793, allocations: 215.1 kB / 0.9452 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.9823, allocations: 0.5086 MB / 0.9457 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.9849, allocations: 1.362 MB / 0.947 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.985, allocations: 174.2 kB / 0.9472 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.9853, allocations: 152.8 kB / 0.9473 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/0.9881, allocations: 1.737 MB / 0.949 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.9881, allocations: 0 / 0.949 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.9883, allocations: 64 kB / 0.9491 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.245e-05/0.9884, allocations: 66.62 kB / 0.9492 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.9907, allocations: 1.365 MB / 0.9505 GB, free: 9.758 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.009259/1, allocations: 8.191 MB / 0.9585 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/1.001, allocations: 0.9046 MB / 0.9594 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/1.002, allocations: 0.5341 MB / 0.9599 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/1.003, allocations: 320.1 kB / 0.9602 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.003, allocations: 47.56 kB / 0.9602 GB, free: 15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 6.602e-06/1.003, allocations: 0 / 0.9602 GB, free: 15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.007002/1.01, allocations: 3.119 MB / 0.9633 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.01, allocations: 64.41 kB / 0.9633 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/1.012, allocations: 1.262 MB / 0.9646 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/1.012, allocations: 49.7 kB / 0.9646 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/1.013, allocations: 0.8171 MB / 0.9654 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/1.013, allocations: 362.7 kB / 0.9658 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/1.013, allocations: 226.7 kB / 0.966 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.014, allocations: 357.9 kB / 0.9663 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/1.014, allocations: 445.8 kB / 0.9668 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.016, allocations: 0.8312 MB / 0.9676 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/1.017, allocations: 1.252 MB / 0.9688 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.017, allocations: 0 / 0.9688 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002727/1.02, allocations: 1.398 MB / 0.9702 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.02, allocations: 8 kB / 0.9702 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.02, allocations: 8 kB / 0.9702 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/1.02, allocations: 19.98 kB / 0.9702 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.021, allocations: 272.2 kB / 0.9704 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.259e-05/1.022, allocations: 27.92 kB / 0.9705 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.023, allocations: 67.86 kB / 0.9705 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.023, allocations: 55.98 kB / 0.9706 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001442/1.025, allocations: 0.7718 MB / 0.9713 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001094/1.026, allocations: 0.8196 MB / 0.9721 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001848/1.028, allocations: 1.237 MB / 0.9734 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/1.028, allocations: 0 / 0.9734 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002522/1.03, allocations: 1.386 MB / 0.9747 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.03, allocations: 8 kB / 0.9747 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.03, allocations: 8 kB / 0.9747 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.03, allocations: 16 kB / 0.9747 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.031, allocations: 275.6 kB / 0.975 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/1.031, allocations: 27.86 kB / 0.975 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.033, allocations: 79.97 kB / 0.9751 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/1.033, allocations: 48 kB / 0.9751 GB, free: 15.01 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.0003114/1.033, allocations: 259.9 kB / 0.9754 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/1.033, allocations: 162 kB / 0.9756 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/1.036, allocations: 1.166 MB / 0.9767 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.036, allocations: 8 kB / 0.9767 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.036, allocations: 0 / 0.9767 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/1.037, allocations: 1.075 MB / 0.9777 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/1.042, allocations: 2.777 MB / 0.9805 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.043, allocations: 4.031 kB / 0.9805 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.044, allocations: 247.7 kB / 0.9807 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/1.044, allocations: 8 kB / 0.9807 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/1.044, allocations: 31.92 kB / 0.9807 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.044, allocations: 8 kB / 0.9807 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.044, allocations: 0 / 0.9807 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/1.047, allocations: 1.822 MB / 0.9825 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/1.047, allocations: 331.1 kB / 0.9828 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/1.048, allocations: 24 kB / 0.9829 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.049, allocations: 59.84 kB / 0.9829 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.049, allocations: 60.92 kB / 0.983 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/1.049, allocations: 43.97 kB / 0.983 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00127/1.05, allocations: 0.8465 MB / 0.9838 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.05, allocations: 4 kB / 0.9838 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002327/1.053, allocations: 0.7616 MB / 0.9846 GB, free: 5.129 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.003748/1.057, allocations: 2.526 MB / 0.9871 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003304/1.06, allocations: 1.729 MB / 0.9887 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.06, allocations: 4.062 kB / 0.9888 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/1.061, allocations: 0.5131 MB / 0.9893 GB, free: 332 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/1.065, allocations: 0.9304 MB / 0.9902 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.088, allocations: 11.97 MB / 1.002 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.089, allocations: 1.445 MB / 1.003 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002149/1.091, allocations: 0.5444 MB / 1.004 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.093, allocations: 0.6867 MB / 1.004 GB, free: 236 kB / 0.7637 GB Notification: Performance of SimCode: time 7.62e-07/1.093, allocations: 0 / 1.004 GB, free: 236 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08851/1.181, allocations: 45.05 MB / 1.048 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.76, allocations: 15.16 kB / 1.048 GB, free: 3.629 MB / 0.8106 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)