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.008366/0.008366, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.002005/0.002005, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7853/0.7853, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 66.48 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1395, allocations: 80.92 MB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5036/0.6431, allocations: 209.9 MB / 0.8691 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.6566, allocations: 9.839 MB / 0.8787 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.6582, allocations: 63.62 kB / 0.8788 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.6601, allocations: 0.7922 MB / 0.8796 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.6662, allocations: 2.898 MB / 0.8824 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.6693, allocations: 1.393 MB / 0.8838 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004395/0.6737, allocations: 4.08 MB / 0.8877 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.6756, allocations: 1.327 MB / 0.889 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.6782, allocations: 1.426 MB / 0.8904 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.6807, allocations: 1.235 MB / 0.8916 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.6811, allocations: 144 kB / 0.8918 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.6864, allocations: 2.393 MB / 0.8941 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.6875, allocations: 0.6039 MB / 0.8947 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001948/0.6894, allocations: 0.8595 MB / 0.8955 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.695, allocations: 3.025 MB / 0.8985 GB, free: 15.4 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.695, allocations: 0 / 0.8985 GB, free: 15.4 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.332e-06/0.695, allocations: 7.938 kB / 0.8985 GB, free: 15.39 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.84e-05/0.6951, allocations: 0 / 0.8985 GB, free: 15.39 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004387/0.6995, allocations: 1.943 MB / 0.9004 GB, free: 13.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6995, allocations: 9.109 kB / 0.9004 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003215/0.6999, allocations: 176.8 kB / 0.9006 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.7033, allocations: 490.5 kB / 0.9011 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.7055, allocations: 1.144 MB / 0.9022 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.7056, allocations: 82.14 kB / 0.9022 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.7058, allocations: 119.9 kB / 0.9024 GB, free: 11.33 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.7078, allocations: 1.153 MB / 0.9035 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.7079, allocations: 0 / 0.9035 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.708, allocations: 44 kB / 0.9035 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/0.7081, allocations: 42.14 kB / 0.9036 GB, free: 10.06 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.7098, allocations: 1.07 MB / 0.9046 GB, free: 8.984 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.006129/0.7159, allocations: 4.19 MB / 0.9087 GB, free: 4.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.7171, allocations: 0.8243 MB / 0.9095 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.7178, allocations: 486.2 kB / 0.91 GB, free: 3.211 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/0.7182, allocations: 292.3 kB / 0.9103 GB, free: 2.871 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.7182, allocations: 51.55 kB / 0.9103 GB, free: 2.809 MB / 0.67 GB Notification: Performance of pre-optimization done (n=83): time 2.305e-06/0.7183, allocations: 0 / 0.9103 GB, free: 2.809 MB / 0.67 GB Notification: Performance of matching and sorting (n=89): time 0.00548/0.7237, allocations: 2.858 MB / 0.9131 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.7238, allocations: 60.41 kB / 0.9132 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.725, allocations: 0.9794 MB / 0.9141 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.7251, allocations: 49.7 kB / 0.9142 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.7255, allocations: 0.5443 MB / 0.9147 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.7258, allocations: 333.1 kB / 0.915 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.726, allocations: 154.6 kB / 0.9152 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7262, allocations: 341.9 kB / 0.9155 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.7267, allocations: 341.7 kB / 0.9158 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.7273, allocations: 0.4903 MB / 0.9163 GB, free: 12.5 MB / 0.6856 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.005764/0.7331, allocations: 3.02 MB / 0.9192 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7331, allocations: 3.938 kB / 0.9192 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001491/0.7346, allocations: 1.016 MB / 0.9202 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.7346, allocations: 8 kB / 0.9202 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7346, allocations: 4 kB / 0.9202 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.7347, allocations: 4 kB / 0.9202 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.7354, allocations: 183.7 kB / 0.9204 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.7355, allocations: 11.94 kB / 0.9204 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7365, allocations: 30.8 kB / 0.9205 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.7365, allocations: 32.25 kB / 0.9205 GB, free: 8.098 MB / 0.6856 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.0004981/0.737, allocations: 389.4 kB / 0.9209 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.7373, allocations: 131.2 kB / 0.921 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.7375, allocations: 140.3 kB / 0.9211 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.7375, allocations: 19.92 kB / 0.9211 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.7376, allocations: 0 / 0.9211 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/0.739, allocations: 1.09 MB / 0.9222 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.7436, allocations: 3.04 MB / 0.9252 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.7437, allocations: 11.94 kB / 0.9252 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.7444, allocations: 175.8 kB / 0.9254 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/0.7448, allocations: 105.6 kB / 0.9255 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.7448, allocations: 28 kB / 0.9255 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.7472, allocations: 3.083 MB / 0.9285 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.7472, allocations: 15.92 kB / 0.9285 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.7495, allocations: 1.804 MB / 0.9303 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.7501, allocations: 316.1 kB / 0.9306 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.7503, allocations: 31.98 kB / 0.9306 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009865/0.7513, allocations: 45.8 kB / 0.9306 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7514, allocations: 92.09 kB / 0.9307 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.527e-05/0.7515, allocations: 43.98 kB / 0.9308 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008992/0.7524, allocations: 0.6956 MB / 0.9315 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7525, allocations: 0 / 0.9315 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001128/0.7536, allocations: 368 kB / 0.9318 GB, free: 11.8 MB / 0.7012 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.002957/0.7566, allocations: 2.486 MB / 0.9342 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.7579, allocations: 0.8512 MB / 0.9351 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.7579, allocations: 4 kB / 0.9351 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008917/0.7588, allocations: 0.6698 MB / 0.9357 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/0.7629, allocations: 0.9213 MB / 0.9366 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.7758, allocations: 9.694 MB / 0.9461 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/0.7767, allocations: 1.252 MB / 0.9473 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001134/0.7778, allocations: 343 kB / 0.9476 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/0.7785, allocations: 471.3 kB / 0.9481 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.7785, allocations: 0 / 0.9481 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06852/0.847, allocations: 38.54 MB / 0.9857 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.86, allocations: 7.938 kB / 0.9857 GB, free: 4.371 MB / 0.7481 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)