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.007059/0.007059, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001814/0.001814, allocations: 189.7 kB / 16.67 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8026/0.8026, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 68.61 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1361, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05084/0.187, allocations: 49.75 MB / 0.7078 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2051, allocations: 12.65 MB / 0.7201 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.207, allocations: 79.56 kB / 0.7202 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.2088, allocations: 0.7604 MB / 0.721 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.213, allocations: 1.815 MB / 0.7227 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.2162, allocations: 1.351 MB / 0.724 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.2201, allocations: 3.253 MB / 0.7272 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.2217, allocations: 1.27 MB / 0.7285 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.2244, allocations: 1.306 MB / 0.7297 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.2255, allocations: 0.933 MB / 0.7307 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.2257, allocations: 96 kB / 0.7307 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.2278, allocations: 1.068 MB / 0.7318 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.2281, allocations: 286.9 kB / 0.7321 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.2288, allocations: 0.6722 MB / 0.7327 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.2313, allocations: 1.981 MB / 0.7347 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2313, allocations: 4 kB / 0.7347 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2314, allocations: 0 / 0.7347 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.2314, allocations: 0 / 0.7347 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.002526/0.2339, allocations: 1.758 MB / 0.7364 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.234, allocations: 8.031 kB / 0.7364 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.2341, allocations: 135.4 kB / 0.7365 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/0.2347, allocations: 223.8 kB / 0.7367 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.2366, allocations: 1.101 MB / 0.7378 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.2367, allocations: 70 kB / 0.7379 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2368, allocations: 87.94 kB / 0.7379 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.2385, allocations: 0.9957 MB / 0.7389 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.2385, allocations: 7.938 kB / 0.7389 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.2386, allocations: 36 kB / 0.739 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.2386, allocations: 20 kB / 0.739 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.2401, allocations: 0.6555 MB / 0.7396 GB, free: 7.914 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.005056/0.2452, allocations: 4.719 MB / 0.7442 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.2463, allocations: 387.1 kB / 0.7446 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/0.2469, allocations: 220.7 kB / 0.7448 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009494/0.2478, allocations: 1.152 MB / 0.7459 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.2479, allocations: 30.56 kB / 0.746 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 3.747e-06/0.2479, allocations: 0 / 0.746 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.2584/0.5063, allocations: 1.086 MB / 0.747 GB, free: 85.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.5064, allocations: 56.78 kB / 0.7471 GB, free: 85.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.5079, allocations: 0.9768 MB / 0.748 GB, free: 85.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.508, allocations: 33.33 kB / 0.7481 GB, free: 85.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.5084, allocations: 0.5969 MB / 0.7486 GB, free: 85.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5086, allocations: 111.4 kB / 0.7488 GB, free: 85.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.5087, allocations: 112.2 kB / 0.7489 GB, free: 85.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.5088, allocations: 325.5 kB / 0.7492 GB, free: 84.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/0.5094, allocations: 199.6 kB / 0.7494 GB, free: 84.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.51, allocations: 408.1 kB / 0.7497 GB, free: 84.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.5111, allocations: 0.6043 MB / 0.7503 GB, free: 84.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5111, allocations: 5.406 kB / 0.7503 GB, free: 84.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00163/0.5128, allocations: 0.7662 MB / 0.7511 GB, free: 84.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5128, allocations: 8.906 kB / 0.7511 GB, free: 84.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5128, allocations: 10.28 kB / 0.7511 GB, free: 84.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.5135, allocations: 153.4 kB / 0.7513 GB, free: 83.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.5141, allocations: 147.3 kB / 0.7514 GB, free: 83.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/0.5148, allocations: 1.723 MB / 0.7531 GB, free: 82.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.5155, allocations: 86.39 kB / 0.7532 GB, free: 82.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.5155, allocations: 29.83 kB / 0.7532 GB, free: 82.29 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.0003258/0.5158, allocations: 271.5 kB / 0.7534 GB, free: 82.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.516, allocations: 116.3 kB / 0.7536 GB, free: 82.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.5177, allocations: 0.72 MB / 0.7543 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.5177, allocations: 6.062 kB / 0.7543 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5178, allocations: 2.719 kB / 0.7543 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5178, allocations: 2.844 kB / 0.7543 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.5204, allocations: 1.636 MB / 0.7559 GB, free: 80.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.5204, allocations: 1.781 kB / 0.7559 GB, free: 80.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.5209, allocations: 94.62 kB / 0.756 GB, free: 80.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.5215, allocations: 143.5 kB / 0.7561 GB, free: 80.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.5215, allocations: 15.61 kB / 0.7561 GB, free: 80.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006883/0.5222, allocations: 1.713 MB / 0.7578 GB, free: 79.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5222, allocations: 6.5 kB / 0.7578 GB, free: 79.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.5238, allocations: 0.7804 MB / 0.7586 GB, free: 78.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.5241, allocations: 252.9 kB / 0.7588 GB, free: 78.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5242, allocations: 11.67 kB / 0.7588 GB, free: 78.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.5248, allocations: 47.12 kB / 0.7589 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.5249, allocations: 29.81 kB / 0.7589 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.5249, allocations: 25.88 kB / 0.7589 GB, free: 78.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009653/0.5259, allocations: 0.6589 MB / 0.7595 GB, free: 78.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5259, allocations: 0 / 0.7595 GB, free: 78.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001097/0.527, allocations: 375.8 kB / 0.7599 GB, free: 78.33 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.002309/0.5293, allocations: 1.646 MB / 0.7615 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.5308, allocations: 0.5412 MB / 0.762 GB, free: 77.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5308, allocations: 1.469 kB / 0.762 GB, free: 77.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007754/0.5316, allocations: 302 kB / 0.7623 GB, free: 77.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.5338, allocations: 0.5107 MB / 0.7628 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009886/0.5437, allocations: 7.33 MB / 0.77 GB, free: 73.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.5443, allocations: 1.106 MB / 0.7711 GB, free: 72.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006806/0.545, allocations: 200.1 kB / 0.7713 GB, free: 72.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.5453, allocations: 418.3 kB / 0.7717 GB, free: 72.06 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5454, allocations: 0 / 0.7717 GB, free: 72.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.5938, allocations: 29.49 MB / 0.8005 GB, free: 49.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.42, allocations: 12.88 kB / 0.8005 GB, free: 49.95 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)