Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.005003/0.005003, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001271/0.001271, allocations: 195 kB / 16.67 MB, free: 5.934 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001985, allocations: 279.2 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8798/0.8798, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 100.1 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1361, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.3238/0.4599, allocations: 49.76 MB / 0.8145 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.4771, allocations: 12.67 MB / 0.8269 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.4795, allocations: 82.19 kB / 0.827 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.4813, allocations: 0.7762 MB / 0.8277 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.4862, allocations: 1.921 MB / 0.8296 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.4897, allocations: 1.361 MB / 0.8309 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003917/0.4937, allocations: 3.262 MB / 0.8341 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.4951, allocations: 1.258 MB / 0.8353 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.4976, allocations: 1.325 MB / 0.8366 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009974/0.4986, allocations: 0.9291 MB / 0.8375 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.4988, allocations: 96.41 kB / 0.8376 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.501, allocations: 1.076 MB / 0.8387 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.5012, allocations: 286.1 kB / 0.839 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.5018, allocations: 0.6735 MB / 0.8396 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.5041, allocations: 1.989 MB / 0.8416 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5042, allocations: 0 / 0.8416 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5042, allocations: 0 / 0.8416 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.5042, allocations: 0 / 0.8416 GB, free: 13.82 MB / 0.6075 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.002286/0.5065, allocations: 1.751 MB / 0.8433 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.5065, allocations: 9.375 kB / 0.8433 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.5066, allocations: 132.6 kB / 0.8434 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.5072, allocations: 213 kB / 0.8436 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.509, allocations: 1.115 MB / 0.8447 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.509, allocations: 65.09 kB / 0.8448 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5092, allocations: 91.03 kB / 0.8448 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5107, allocations: 0.9994 MB / 0.8458 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5108, allocations: 6.906 kB / 0.8458 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.5108, allocations: 37.31 kB / 0.8459 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.5109, allocations: 21.56 kB / 0.8459 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.5122, allocations: 0.6493 MB / 0.8465 GB, free: 10.29 MB / 0.6075 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.004402/0.5167, allocations: 4.733 MB / 0.8511 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.5177, allocations: 397.2 kB / 0.8515 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.5182, allocations: 216 kB / 0.8517 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007298/0.519, allocations: 1.141 MB / 0.8528 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.519, allocations: 44.95 kB / 0.8529 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.519, allocations: 0 / 0.8529 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29): time 0.002618/0.5216, allocations: 1.081 MB / 0.8539 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.5217, allocations: 61.69 kB / 0.854 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5227, allocations: 0.9798 MB / 0.8549 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.5228, allocations: 31.67 kB / 0.855 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.5232, allocations: 0.5989 MB / 0.8556 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.5232, allocations: 110.2 kB / 0.8557 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.5234, allocations: 112.8 kB / 0.8558 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.5235, allocations: 326.7 kB / 0.8561 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.524, allocations: 198.8 kB / 0.8563 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.5247, allocations: 405.6 kB / 0.8567 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5258, allocations: 0.6011 MB / 0.8573 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.5258, allocations: 2.156 kB / 0.8573 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00154/0.5274, allocations: 0.7618 MB / 0.858 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5274, allocations: 6.875 kB / 0.858 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5274, allocations: 10.86 kB / 0.858 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.528, allocations: 158.8 kB / 0.8582 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.5286, allocations: 145.2 kB / 0.8583 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009878/0.5296, allocations: 1.716 MB / 0.86 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.5302, allocations: 92.84 kB / 0.8601 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.5303, allocations: 32.27 kB / 0.8601 GB, free: 14.76 MB / 0.6231 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.0003321/0.5306, allocations: 267.6 kB / 0.8604 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.5308, allocations: 111.5 kB / 0.8605 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.5325, allocations: 0.7271 MB / 0.8612 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.5325, allocations: 3.312 kB / 0.8612 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5325, allocations: 7.922 kB / 0.8612 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5325, allocations: 5.125 kB / 0.8612 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.5352, allocations: 1.633 MB / 0.8628 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5352, allocations: 6.594 kB / 0.8628 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.5356, allocations: 81.47 kB / 0.8629 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/0.5361, allocations: 154.3 kB / 0.863 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.5362, allocations: 12.5 kB / 0.863 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009239/0.5371, allocations: 1.709 MB / 0.8647 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5371, allocations: 6.281 kB / 0.8647 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.5386, allocations: 0.7825 MB / 0.8655 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.5389, allocations: 253.2 kB / 0.8657 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5391, allocations: 9.062 kB / 0.8657 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.5396, allocations: 39.83 kB / 0.8658 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.5397, allocations: 41.81 kB / 0.8658 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.5397, allocations: 19.77 kB / 0.8658 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007361/0.5405, allocations: 0.6595 MB / 0.8665 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5405, allocations: 1.344 kB / 0.8665 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009359/0.5414, allocations: 381.5 kB / 0.8668 GB, free: 9.844 MB / 0.6231 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.002388/0.5438, allocations: 1.646 MB / 0.8684 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.5453, allocations: 0.5423 MB / 0.869 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5453, allocations: 1.438 kB / 0.869 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.5461, allocations: 297.9 kB / 0.8692 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.5483, allocations: 0.532 MB / 0.8698 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.5583, allocations: 7.324 MB / 0.8769 GB, free: 8 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.5589, allocations: 1.099 MB / 0.878 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000571/0.5595, allocations: 193.9 kB / 0.8782 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.5599, allocations: 419.3 kB / 0.8786 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.5599, allocations: 4 kB / 0.8786 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05177/0.6117, allocations: 29.55 MB / 0.9074 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.72, allocations: 14.66 kB / 0.9074 GB, free: 1.25 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)