Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_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.001201/0.001201, allocations: 108 kB / 15.61 MB, free: 152 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.00123/0.001231, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 64.61 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4538, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.243/0.6969, allocations: 209.9 MB / 0.7851 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.7138, allocations: 9.852 MB / 0.7948 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.7169, allocations: 63.62 kB / 0.7948 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.7196, allocations: 0.7687 MB / 0.7956 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008104/0.7277, allocations: 2.804 MB / 0.7983 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.7317, allocations: 1.361 MB / 0.7996 GB, free: 48 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005667/0.7373, allocations: 4.06 MB / 0.8036 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.7397, allocations: 1.336 MB / 0.8049 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.7426, allocations: 1.358 MB / 0.8062 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.7455, allocations: 1.23 MB / 0.8074 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.746, allocations: 144 kB / 0.8076 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005101/0.7511, allocations: 2.381 MB / 0.8099 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.7522, allocations: 0.6038 MB / 0.8105 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.7543, allocations: 0.8595 MB / 0.8113 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006904/0.7613, allocations: 2.98 MB / 0.8142 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7613, allocations: 4 kB / 0.8142 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7613, allocations: 3.938 kB / 0.8142 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.929e-05/0.7614, allocations: 0 / 0.8142 GB, free: 1.031 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.3362/1.098, allocations: 1.886 MB / 0.8161 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.098, allocations: 10.83 kB / 0.8161 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/1.098, allocations: 175.6 kB / 0.8163 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/1.101, allocations: 484.5 kB / 0.8167 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/1.103, allocations: 1.061 MB / 0.8178 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/1.104, allocations: 87.39 kB / 0.8178 GB, free: 221 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/1.104, allocations: 114.8 kB / 0.818 GB, free: 221 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/1.106, allocations: 1.162 MB / 0.8191 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/1.106, allocations: 4.703 kB / 0.8191 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.106, allocations: 46.62 kB / 0.8191 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/1.106, allocations: 40.81 kB / 0.8192 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/1.108, allocations: 1.066 MB / 0.8202 GB, free: 220.1 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.007663/1.116, allocations: 4.215 MB / 0.8243 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.117, allocations: 0.8267 MB / 0.8251 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/1.118, allocations: 483.9 kB / 0.8256 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003893/1.119, allocations: 296.2 kB / 0.8259 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.119, allocations: 49.73 kB / 0.8259 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 3.296e-06/1.119, allocations: 0 / 0.8259 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.00622/1.125, allocations: 2.843 MB / 0.8287 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.125, allocations: 61.86 kB / 0.8288 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.126, allocations: 0.9686 MB / 0.8297 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.126, allocations: 52.08 kB / 0.8298 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/1.127, allocations: 0.5374 MB / 0.8303 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/1.127, allocations: 312.5 kB / 0.8306 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/1.127, allocations: 159.9 kB / 0.8307 GB, free: 214 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/1.127, allocations: 351.3 kB / 0.8311 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/1.128, allocations: 335.5 kB / 0.8314 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/1.129, allocations: 0.4891 MB / 0.8319 GB, free: 213.3 MB / 0.6387 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.00583/1.134, allocations: 3.017 MB / 0.8348 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.135, allocations: 1.094 kB / 0.8348 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001869/1.136, allocations: 1.013 MB / 0.8358 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.136, allocations: 5.719 kB / 0.8358 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.136, allocations: 7.5 kB / 0.8358 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/1.136, allocations: 7.5 kB / 0.8358 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/1.137, allocations: 178.5 kB / 0.836 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.137, allocations: 10.69 kB / 0.836 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.139, allocations: 31.38 kB / 0.836 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/1.139, allocations: 32.84 kB / 0.8361 GB, free: 211 MB / 0.6387 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.0006316/1.139, allocations: 376.5 kB / 0.8364 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.14, allocations: 130.2 kB / 0.8366 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/1.14, allocations: 148.6 kB / 0.8367 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.14, allocations: 12.34 kB / 0.8367 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.789e-05/1.14, allocations: 4.656 kB / 0.8367 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/1.141, allocations: 1.093 MB / 0.8378 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/1.146, allocations: 3.044 MB / 0.8408 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.146, allocations: 11.22 kB / 0.8408 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007229/1.147, allocations: 170.8 kB / 0.8409 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/1.147, allocations: 95.53 kB / 0.841 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/1.147, allocations: 33.95 kB / 0.8411 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/1.149, allocations: 3.091 MB / 0.8441 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/1.149, allocations: 13.97 kB / 0.8441 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/1.152, allocations: 1.805 MB / 0.8458 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008343/1.153, allocations: 300.8 kB / 0.8461 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/1.153, allocations: 35.48 kB / 0.8462 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/1.154, allocations: 39.11 kB / 0.8462 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.155, allocations: 87.33 kB / 0.8463 GB, free: 203 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.155, allocations: 50.61 kB / 0.8463 GB, free: 203 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001029/1.156, allocations: 0.6979 MB / 0.847 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.156, allocations: 4 kB / 0.847 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001171/1.157, allocations: 377.7 kB / 0.8474 GB, free: 202.6 MB / 0.6387 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.002746/1.16, allocations: 2.466 MB / 0.8498 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001817/1.161, allocations: 0.9591 MB / 0.8507 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.162, allocations: 4.062 kB / 0.8507 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008782/1.162, allocations: 0.6726 MB / 0.8514 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/1.167, allocations: 0.9205 MB / 0.8523 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.178, allocations: 10.25 MB / 0.8623 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/1.178, allocations: 1.245 MB / 0.8635 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00128/1.18, allocations: 339 kB / 0.8638 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/1.18, allocations: 475.3 kB / 0.8643 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.403e-06/1.18, allocations: 0 / 0.8643 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06497/1.245, allocations: 38.31 MB / 0.9017 GB, free: 148.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.709/10.95, allocations: 23.66 kB / 0.9017 GB, free: 148.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)