Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.007576/0.007576, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001897/0.001897, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7535/0.7535, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001145, allocations: 66.73 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1305, allocations: 80.21 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04745/0.178, allocations: 49.75 MB / 0.7078 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.1944, allocations: 12.65 MB / 0.7201 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.1964, allocations: 83.5 kB / 0.7202 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.1982, allocations: 0.7683 MB / 0.721 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.2023, allocations: 1.909 MB / 0.7228 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.2053, allocations: 1.358 MB / 0.7242 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003539/0.2088, allocations: 3.262 MB / 0.7273 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.2104, allocations: 1.262 MB / 0.7286 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.2131, allocations: 1.337 MB / 0.7299 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.2141, allocations: 0.9252 MB / 0.7308 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.2143, allocations: 96 kB / 0.7309 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.2163, allocations: 1.072 MB / 0.7319 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.2166, allocations: 290.8 kB / 0.7322 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.2172, allocations: 0.6799 MB / 0.7329 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.2196, allocations: 1.985 MB / 0.7348 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2196, allocations: 0 / 0.7348 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2196, allocations: 0 / 0.7348 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.2196, allocations: 0 / 0.7348 GB, free: 13.2 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00238/0.222, allocations: 1.75 MB / 0.7365 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2221, allocations: 8.031 kB / 0.7365 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.2222, allocations: 139.4 kB / 0.7367 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.2228, allocations: 215.9 kB / 0.7369 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.2247, allocations: 1.104 MB / 0.7379 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.2248, allocations: 66 kB / 0.738 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2249, allocations: 84 kB / 0.7381 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.2265, allocations: 1.003 MB / 0.7391 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2265, allocations: 7.938 kB / 0.7391 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.2266, allocations: 32 kB / 0.7391 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.2266, allocations: 24 kB / 0.7391 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.228, allocations: 0.6477 MB / 0.7398 GB, free: 7.93 MB / 0.5762 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.004504/0.2325, allocations: 4.725 MB / 0.7444 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2336, allocations: 395.1 kB / 0.7447 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.2341, allocations: 212.7 kB / 0.7449 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/0.2349, allocations: 1.152 MB / 0.7461 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.235, allocations: 38.5 kB / 0.7461 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.235, allocations: 0 / 0.7461 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.2694/0.5044, allocations: 1.079 MB / 0.7472 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.5044, allocations: 58.25 kB / 0.7472 GB, free: 85.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.5059, allocations: 0.9765 MB / 0.7482 GB, free: 85.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.5059, allocations: 32.86 kB / 0.7482 GB, free: 85.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.5063, allocations: 0.5926 MB / 0.7488 GB, free: 85.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.5064, allocations: 114.9 kB / 0.7489 GB, free: 85.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.5066, allocations: 111.8 kB / 0.749 GB, free: 85.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.5067, allocations: 325.5 kB / 0.7493 GB, free: 84.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.5072, allocations: 197.1 kB / 0.7495 GB, free: 84.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.5078, allocations: 412.3 kB / 0.7499 GB, free: 84.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5089, allocations: 0.6023 MB / 0.7505 GB, free: 84.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.509, allocations: 1.438 kB / 0.7505 GB, free: 84.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001564/0.5105, allocations: 0.7703 MB / 0.7512 GB, free: 84.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5106, allocations: 8.297 kB / 0.7512 GB, free: 84.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5106, allocations: 6.562 kB / 0.7512 GB, free: 84.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.5112, allocations: 158.3 kB / 0.7514 GB, free: 83.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.5118, allocations: 144.2 kB / 0.7515 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007459/0.5126, allocations: 1.723 MB / 0.7532 GB, free: 82.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.5132, allocations: 89.8 kB / 0.7533 GB, free: 82.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.5133, allocations: 30.41 kB / 0.7533 GB, free: 82.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000339/0.5136, allocations: 272.7 kB / 0.7536 GB, free: 82.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.5138, allocations: 116.5 kB / 0.7537 GB, free: 82.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.5155, allocations: 0.7178 MB / 0.7544 GB, free: 81.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5156, allocations: 13.14 kB / 0.7544 GB, free: 81.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5156, allocations: 1.328 kB / 0.7544 GB, free: 81.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5156, allocations: 1.312 kB / 0.7544 GB, free: 81.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.5185, allocations: 1.638 MB / 0.756 GB, free: 80.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5185, allocations: 1.562 kB / 0.756 GB, free: 80.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.519, allocations: 89.7 kB / 0.7561 GB, free: 80.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005617/0.5196, allocations: 150.3 kB / 0.7562 GB, free: 80.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.5196, allocations: 8.875 kB / 0.7563 GB, free: 80.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007287/0.5204, allocations: 1.718 MB / 0.7579 GB, free: 79.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5204, allocations: 2.031 kB / 0.7579 GB, free: 79.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.522, allocations: 0.7804 MB / 0.7587 GB, free: 78.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.5224, allocations: 250.4 kB / 0.7589 GB, free: 78.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.5225, allocations: 10.25 kB / 0.7589 GB, free: 78.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.5231, allocations: 46.92 kB / 0.759 GB, free: 78.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.5232, allocations: 34.25 kB / 0.759 GB, free: 78.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.5232, allocations: 21.55 kB / 0.759 GB, free: 78.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001102/0.5244, allocations: 0.6615 MB / 0.7597 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5244, allocations: 0 / 0.7597 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001262/0.5256, allocations: 380.7 kB / 0.7601 GB, free: 78.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/0.5281, allocations: 1.631 MB / 0.7616 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.5297, allocations: 0.5446 MB / 0.7622 GB, free: 77.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5297, allocations: 0.6875 kB / 0.7622 GB, free: 77.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.5305, allocations: 302 kB / 0.7625 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.5328, allocations: 0.5182 MB / 0.763 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5433, allocations: 7.33 MB / 0.7701 GB, free: 73.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.5439, allocations: 1.105 MB / 0.7712 GB, free: 72.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007999/0.5447, allocations: 188.8 kB / 0.7714 GB, free: 72.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.5451, allocations: 418.1 kB / 0.7718 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.5451, allocations: 1.531 kB / 0.7718 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.59, allocations: 29.49 MB / 0.8006 GB, free: 50 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.86, allocations: 8.812 kB / 0.8006 GB, free: 50 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)