Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 194.7 kB / 16.53 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9342/0.9342, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.7 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4357/0.5746, allocations: 209.9 MB / 0.7894 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.5894, allocations: 9.848 MB / 0.799 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.5914, allocations: 55.69 kB / 0.7991 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.5936, allocations: 0.7687 MB / 0.7998 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.6001, allocations: 2.805 MB / 0.8026 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.6033, allocations: 1.355 MB / 0.8039 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004545/0.6078, allocations: 4.074 MB / 0.8079 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.6096, allocations: 1.333 MB / 0.8092 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.6117, allocations: 1.354 MB / 0.8105 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.614, allocations: 1.23 MB / 0.8117 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.6143, allocations: 144 kB / 0.8118 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.6186, allocations: 2.373 MB / 0.8142 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.6193, allocations: 0.6116 MB / 0.8147 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.6205, allocations: 0.8556 MB / 0.8156 GB, free: 40 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.6249, allocations: 2.988 MB / 0.8185 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6249, allocations: 0 / 0.8185 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6249, allocations: 0 / 0.8185 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.699e-05/0.625, allocations: 4 kB / 0.8185 GB, free: 13.04 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003103/0.6281, allocations: 1.899 MB / 0.8204 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6281, allocations: 8.031 kB / 0.8204 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.6283, allocations: 176.8 kB / 0.8205 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.6314, allocations: 489.7 kB / 0.821 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.6332, allocations: 1.054 MB / 0.822 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.6333, allocations: 86.08 kB / 0.8221 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.6334, allocations: 115.9 kB / 0.8222 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6354, allocations: 1.157 MB / 0.8234 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.6354, allocations: 7.984 kB / 0.8234 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.6355, allocations: 48 kB / 0.8234 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.6356, allocations: 38.14 kB / 0.8234 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.6373, allocations: 1.062 MB / 0.8245 GB, free: 6.762 MB / 0.6387 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.006038/0.6433, allocations: 4.219 MB / 0.8286 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.6445, allocations: 0.824 MB / 0.8294 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.6452, allocations: 486.2 kB / 0.8299 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.6456, allocations: 296.3 kB / 0.8302 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.6456, allocations: 51.97 kB / 0.8302 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 3.046e-06/0.6456, allocations: 0 / 0.8302 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005754/0.6514, allocations: 2.837 MB / 0.833 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.6515, allocations: 64.41 kB / 0.833 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.653, allocations: 0.9754 MB / 0.834 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.6532, allocations: 45.7 kB / 0.834 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.6537, allocations: 0.5512 MB / 0.8346 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.6541, allocations: 307.4 kB / 0.8349 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.6543, allocations: 158.6 kB / 0.835 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6545, allocations: 341.9 kB / 0.8353 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.655, allocations: 337.8 kB / 0.8357 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.6557, allocations: 0.4934 MB / 0.8361 GB, free: 10.28 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006184/0.6619, allocations: 3.022 MB / 0.8391 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.6619, allocations: 0 / 0.8391 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001723/0.6636, allocations: 1.012 MB / 0.8401 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6637, allocations: 8 kB / 0.8401 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.6637, allocations: 0 / 0.8401 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.6637, allocations: 8 kB / 0.8401 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.6645, allocations: 179.7 kB / 0.8403 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.6645, allocations: 8 kB / 0.8403 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.6656, allocations: 32.86 kB / 0.8403 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.6657, allocations: 32 kB / 0.8403 GB, free: 5.898 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0005769/0.6663, allocations: 396.8 kB / 0.8407 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.6665, allocations: 126.5 kB / 0.8408 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.6669, allocations: 148.3 kB / 0.841 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.6669, allocations: 8 kB / 0.841 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.6669, allocations: 4 kB / 0.841 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001557/0.6685, allocations: 1.086 MB / 0.8421 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/0.6732, allocations: 3.051 MB / 0.845 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.6732, allocations: 11.98 kB / 0.845 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.6739, allocations: 167.7 kB / 0.8452 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.6743, allocations: 93.66 kB / 0.8453 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.6744, allocations: 32 kB / 0.8453 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.6769, allocations: 3.094 MB / 0.8483 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/0.6769, allocations: 11.94 kB / 0.8484 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.6793, allocations: 1.803 MB / 0.8501 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.6799, allocations: 307.5 kB / 0.8504 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.6801, allocations: 28 kB / 0.8504 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.6812, allocations: 43.16 kB / 0.8505 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.6814, allocations: 84.11 kB / 0.8506 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.6815, allocations: 51.92 kB / 0.8506 GB, free: 10.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000906/0.6824, allocations: 0.6956 MB / 0.8513 GB, free: 9.977 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6824, allocations: 0 / 0.8513 GB, free: 9.977 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001113/0.6835, allocations: 376 kB / 0.8516 GB, free: 9.609 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003076/0.6866, allocations: 2.461 MB / 0.854 GB, free: 7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.6884, allocations: 0.9605 MB / 0.855 GB, free: 6.039 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.6884, allocations: 4 kB / 0.855 GB, free: 6.035 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009419/0.6894, allocations: 0.6671 MB / 0.8556 GB, free: 5.348 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/0.6936, allocations: 0.9318 MB / 0.8566 GB, free: 4.469 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.261/0.9546, allocations: 10.25 MB / 0.8666 GB, free: 217.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.9552, allocations: 1.251 MB / 0.8678 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001232/0.9564, allocations: 333.3 kB / 0.8681 GB, free: 216.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.9569, allocations: 476.4 kB / 0.8686 GB, free: 216.4 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.9569, allocations: 0 / 0.8686 GB, free: 216.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06497/1.022, allocations: 38.31 MB / 0.906 GB, free: 209.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.769/10.79, allocations: 11.53 kB / 0.906 GB, free: 209.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)