Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_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.001098/0.001098, 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.00143/0.00143, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9223/0.9223, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 65.22 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.2869/0.4278, allocations: 49.74 MB / 0.633 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.4443, allocations: 12.65 MB / 0.6454 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/0.4472, allocations: 77.78 kB / 0.6455 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.449, allocations: 0.7571 MB / 0.6462 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.4532, allocations: 1.811 MB / 0.648 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.4564, allocations: 1.345 MB / 0.6493 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00342/0.4599, allocations: 3.252 MB / 0.6525 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.4613, allocations: 1.266 MB / 0.6537 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.4642, allocations: 1.296 MB / 0.655 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009401/0.4651, allocations: 0.9289 MB / 0.6559 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.4653, allocations: 96.47 kB / 0.656 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.4674, allocations: 1.061 MB / 0.657 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.4677, allocations: 293.1 kB / 0.6573 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006491/0.4683, allocations: 0.6774 MB / 0.6579 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.471, allocations: 1.946 MB / 0.6598 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.471, allocations: 1.656 kB / 0.6599 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.471, allocations: 0 / 0.6599 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.4711, allocations: 0 / 0.6599 GB, free: 9.051 MB / 0.4981 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.002767/0.4738, allocations: 1.692 MB / 0.6615 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4739, allocations: 9.719 kB / 0.6615 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.474, allocations: 140.8 kB / 0.6616 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006463/0.4747, allocations: 207.1 kB / 0.6618 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.4764, allocations: 1.03 MB / 0.6628 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/0.4768, allocations: 127.7 kB / 0.663 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4769, allocations: 83.72 kB / 0.6631 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.4786, allocations: 1.011 MB / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.4786, allocations: 2.266 kB / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.191e-05/0.4787, allocations: 33.28 kB / 0.6641 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.4787, allocations: 21.62 kB / 0.6641 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.4803, allocations: 0.6588 MB / 0.6647 GB, free: 6.266 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.004486/0.4848, allocations: 4.76 MB / 0.6694 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.486, allocations: 415.3 kB / 0.6698 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.4866, allocations: 220.8 kB / 0.67 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.4872, allocations: 1.148 MB / 0.6711 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.4872, allocations: 41.7 kB / 0.6712 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.4872, allocations: 0 / 0.6712 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002873/0.4901, allocations: 1.094 MB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.4901, allocations: 55.78 kB / 0.6723 GB, free: 364 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4913, allocations: 0.9726 MB / 0.6732 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.4913, allocations: 36.05 kB / 0.6733 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.4917, allocations: 0.5921 MB / 0.6738 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.4918, allocations: 102.7 kB / 0.6739 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.492, allocations: 111.6 kB / 0.674 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4921, allocations: 325.6 kB / 0.6744 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.4927, allocations: 206.8 kB / 0.6745 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/0.4935, allocations: 406.2 kB / 0.6749 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.4948, allocations: 0.6131 MB / 0.6755 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4948, allocations: 2.469 kB / 0.6755 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00177/0.4965, allocations: 0.7666 MB / 0.6763 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4966, allocations: 8.469 kB / 0.6763 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4966, allocations: 9.75 kB / 0.6763 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/0.4973, allocations: 158.8 kB / 0.6765 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.4979, allocations: 150.9 kB / 0.6766 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.499, allocations: 1.718 MB / 0.6783 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.4997, allocations: 97.52 kB / 0.6784 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.4998, allocations: 34.02 kB / 0.6784 GB, free: 12.18 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.0004/0.5002, allocations: 267.9 kB / 0.6787 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.5004, allocations: 111.2 kB / 0.6788 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.5023, allocations: 0.7292 MB / 0.6795 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5023, allocations: 4.312 kB / 0.6795 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5024, allocations: 5.5 kB / 0.6795 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5024, allocations: 2.062 kB / 0.6795 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.5054, allocations: 1.642 MB / 0.6811 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5054, allocations: 1.219 kB / 0.6811 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.5059, allocations: 97.91 kB / 0.6812 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005719/0.5065, allocations: 143.6 kB / 0.6813 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.5066, allocations: 16.16 kB / 0.6813 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009965/0.5076, allocations: 1.708 MB / 0.683 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5076, allocations: 2.188 kB / 0.683 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.5093, allocations: 0.7917 MB / 0.6838 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.5097, allocations: 237.9 kB / 0.684 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.5098, allocations: 13.12 kB / 0.684 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.5104, allocations: 48.38 kB / 0.6841 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.5105, allocations: 34.67 kB / 0.6841 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.5106, allocations: 22.47 kB / 0.6841 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009808/0.5116, allocations: 0.6622 MB / 0.6848 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5116, allocations: 0 / 0.6848 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001213/0.5128, allocations: 374.2 kB / 0.6851 GB, free: 8.129 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.00266/0.5155, allocations: 1.647 MB / 0.6867 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.5173, allocations: 0.5763 MB / 0.6873 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5173, allocations: 1.312 kB / 0.6873 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008423/0.5181, allocations: 298.4 kB / 0.6876 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.5205, allocations: 0.5257 MB / 0.6881 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.5322, allocations: 7.735 MB / 0.6956 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/0.533, allocations: 1.102 MB / 0.6967 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001078/0.5341, allocations: 188.3 kB / 0.6969 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.5347, allocations: 418.6 kB / 0.6973 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of SimCode: time 2.685e-06/0.5347, allocations: 0 / 0.6973 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0584/0.5931, allocations: 29.25 MB / 0.7259 GB, free: 10.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.79, allocations: 11.41 kB / 0.7259 GB, free: 10.9 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)