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.001066/0.001066, 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.001086/0.001086, allocations: 193.8 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.341/1.341, 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/package.mo): time 0.8354/0.8354, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 68.02 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3683, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05242/0.4208, allocations: 49.77 MB / 0.6288 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.4391, allocations: 12.64 MB / 0.6411 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.442, allocations: 87.5 kB / 0.6412 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.4441, allocations: 0.7565 MB / 0.642 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.4491, allocations: 1.815 MB / 0.6437 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.4527, allocations: 1.344 MB / 0.645 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004067/0.4568, allocations: 3.247 MB / 0.6482 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.4587, allocations: 1.256 MB / 0.6494 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.4618, allocations: 1.294 MB / 0.6507 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.4634, allocations: 0.9292 MB / 0.6516 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.4637, allocations: 96 kB / 0.6517 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.4663, allocations: 1.06 MB / 0.6527 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.4667, allocations: 290.8 kB / 0.653 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009546/0.4676, allocations: 0.6761 MB / 0.6537 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003529/0.4712, allocations: 1.935 MB / 0.6556 GB, free: 4.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4712, allocations: 0 / 0.6556 GB, free: 4.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4712, allocations: 4 kB / 0.6556 GB, free: 4.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.016e-05/0.4713, allocations: 0 / 0.6556 GB, free: 4.133 MB / 494.1 MB 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.003662/0.475, allocations: 1.711 MB / 0.6572 GB, free: 2.371 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.475, allocations: 8.031 kB / 0.6572 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002867/0.4753, allocations: 131.4 kB / 0.6574 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.4762, allocations: 211 kB / 0.6576 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.4784, allocations: 1.036 MB / 0.6586 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00039/0.4788, allocations: 117.9 kB / 0.6587 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.479, allocations: 83.94 kB / 0.6588 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.4808, allocations: 1.015 MB / 0.6598 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.4808, allocations: 3.938 kB / 0.6598 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.498e-05/0.4809, allocations: 36 kB / 0.6598 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.4809, allocations: 24 kB / 0.6598 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.4826, allocations: 0.6633 MB / 0.6605 GB, free: 14.91 MB / 0.4981 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.005958/0.4886, allocations: 4.767 MB / 0.6651 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.4898, allocations: 410.6 kB / 0.6655 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.4904, allocations: 220.7 kB / 0.6657 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008769/0.4913, allocations: 1.148 MB / 0.6668 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4914, allocations: 38.56 kB / 0.6669 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.275e-06/0.4914, allocations: 0 / 0.6669 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.003091/0.4945, allocations: 1.097 MB / 0.668 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4945, allocations: 55.41 kB / 0.668 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.4958, allocations: 0.9715 MB / 0.669 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.4959, allocations: 33.7 kB / 0.669 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.4963, allocations: 0.5811 MB / 0.6696 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4964, allocations: 110.6 kB / 0.6697 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.4966, allocations: 118 kB / 0.6698 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4967, allocations: 322 kB / 0.6701 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.4973, allocations: 205 kB / 0.6703 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/0.4981, allocations: 414.3 kB / 0.6707 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4994, allocations: 0.6089 MB / 0.6713 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4994, allocations: 0 / 0.6713 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001743/0.5012, allocations: 0.7717 MB / 0.672 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5012, allocations: 11.94 kB / 0.672 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5012, allocations: 8 kB / 0.672 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.5019, allocations: 162.9 kB / 0.6722 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.5026, allocations: 143.8 kB / 0.6723 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.5037, allocations: 1.712 MB / 0.674 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/0.5044, allocations: 95.36 kB / 0.6741 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.5044, allocations: 31.98 kB / 0.6741 GB, free: 15.98 MB / 0.5137 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.0003773/0.5048, allocations: 273.7 kB / 0.6744 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.505, allocations: 118.5 kB / 0.6745 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.5069, allocations: 0.7347 MB / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.507, allocations: 8 kB / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.507, allocations: 4.062 kB / 0.6752 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.507, allocations: 3.984 kB / 0.6752 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.5098, allocations: 1.636 MB / 0.6768 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.5099, allocations: 3.984 kB / 0.6768 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.5103, allocations: 92.03 kB / 0.6769 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.5109, allocations: 150.5 kB / 0.6771 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.511, allocations: 8 kB / 0.6771 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009647/0.5119, allocations: 1.7 MB / 0.6787 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.512, allocations: 7.969 kB / 0.6787 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.5136, allocations: 0.8003 MB / 0.6795 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.5139, allocations: 247.5 kB / 0.6798 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5141, allocations: 8 kB / 0.6798 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.5147, allocations: 55.88 kB / 0.6798 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.5148, allocations: 23.97 kB / 0.6798 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.5149, allocations: 19.98 kB / 0.6799 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007951/0.5157, allocations: 0.6619 MB / 0.6805 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.593e-06/0.5157, allocations: 0 / 0.6805 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009686/0.5166, allocations: 383.2 kB / 0.6809 GB, free: 8.816 MB / 0.5137 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.002574/0.5192, allocations: 1.637 MB / 0.6825 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.5209, allocations: 0.5712 MB / 0.683 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5209, allocations: 0 / 0.683 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.5218, allocations: 302.1 kB / 0.6833 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.5242, allocations: 0.5268 MB / 0.6838 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.5361, allocations: 7.74 MB / 0.6914 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008953/0.537, allocations: 1.103 MB / 0.6925 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008052/0.5378, allocations: 202.2 kB / 0.6927 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.5383, allocations: 415.2 kB / 0.6931 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.5383, allocations: 0 / 0.6931 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05748/0.5958, allocations: 29.23 MB / 0.7216 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.8, allocations: 12.17 kB / 0.7216 GB, free: 15.07 MB / 0.5606 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)