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.001526/0.001526, 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.001483/0.001483, allocations: 195.5 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.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002441, allocations: 283 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 101.8 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1443, allocations: 89.15 MB / 0.6936 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05193/0.1963, allocations: 49.76 MB / 0.7422 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.2143, allocations: 12.69 MB / 0.7546 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.216, allocations: 79.56 kB / 0.7547 GB, free: 5.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.2177, allocations: 0.7565 MB / 0.7554 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.2217, allocations: 1.83 MB / 0.7572 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.225, allocations: 1.342 MB / 0.7585 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.2635/0.4885, allocations: 3.245 MB / 0.7617 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.4902, allocations: 1.253 MB / 0.7629 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.493, allocations: 1.292 MB / 0.7641 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.4941, allocations: 0.9267 MB / 0.7651 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.4943, allocations: 96 kB / 0.7651 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.4962, allocations: 1.064 MB / 0.7662 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.4965, allocations: 299.4 kB / 0.7665 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.4971, allocations: 0.6691 MB / 0.7671 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.4992, allocations: 1.924 MB / 0.769 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4992, allocations: 1.438 kB / 0.769 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4992, allocations: 0 / 0.769 GB, free: 9.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.4993, allocations: 0 / 0.769 GB, free: 9.016 MB / 0.545 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.002457/0.5017, allocations: 1.706 MB / 0.7707 GB, free: 24.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5018, allocations: 9.25 kB / 0.7707 GB, free: 24.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.5019, allocations: 135.5 kB / 0.7708 GB, free: 24.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.5025, allocations: 208.9 kB / 0.771 GB, free: 24.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.504, allocations: 1.028 MB / 0.772 GB, free: 23.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.5044, allocations: 116.5 kB / 0.7721 GB, free: 23.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.5045, allocations: 88.06 kB / 0.7722 GB, free: 23.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.5061, allocations: 1.01 MB / 0.7732 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.5062, allocations: 4.281 kB / 0.7732 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.5062, allocations: 36.97 kB / 0.7732 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.5063, allocations: 21.75 kB / 0.7732 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.5077, allocations: 0.6622 MB / 0.7739 GB, free: 23.35 MB / 0.5606 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.004808/0.5126, allocations: 4.762 MB / 0.7785 GB, free: 20.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.5138, allocations: 417.4 kB / 0.7789 GB, free: 20.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.5143, allocations: 222.1 kB / 0.7792 GB, free: 20.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.5154, allocations: 1.147 MB / 0.7803 GB, free: 18.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5155, allocations: 36 kB / 0.7803 GB, free: 18.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.5155, allocations: 0 / 0.7803 GB, free: 18.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002883/0.5184, allocations: 1.095 MB / 0.7814 GB, free: 18.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.5184, allocations: 61.86 kB / 0.7814 GB, free: 18.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.5195, allocations: 0.9718 MB / 0.7824 GB, free: 18.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.5195, allocations: 35.7 kB / 0.7824 GB, free: 18.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.5199, allocations: 0.5869 MB / 0.783 GB, free: 18.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.52, allocations: 106.3 kB / 0.7831 GB, free: 17.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.5201, allocations: 111.7 kB / 0.7832 GB, free: 17.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5203, allocations: 330.7 kB / 0.7835 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.5209, allocations: 204.8 kB / 0.7837 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.5215, allocations: 411.3 kB / 0.7841 GB, free: 17.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.5227, allocations: 0.6063 MB / 0.7847 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5227, allocations: 5.562 kB / 0.7847 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001624/0.5244, allocations: 0.7696 MB / 0.7855 GB, free: 17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5244, allocations: 7.984 kB / 0.7855 GB, free: 17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5244, allocations: 10.22 kB / 0.7855 GB, free: 16.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.525, allocations: 160.8 kB / 0.7856 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.5257, allocations: 155.5 kB / 0.7858 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.5269, allocations: 1.712 MB / 0.7874 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/0.5276, allocations: 89.55 kB / 0.7875 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.5277, allocations: 30.19 kB / 0.7876 GB, free: 15.36 MB / 0.5606 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.0003378/0.528, allocations: 277.7 kB / 0.7878 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.5282, allocations: 108.3 kB / 0.7879 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.5299, allocations: 0.7278 MB / 0.7886 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.5299, allocations: 4.797 kB / 0.7886 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.53, allocations: 9.156 kB / 0.7887 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.53, allocations: 1.922 kB / 0.7887 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.5327, allocations: 1.645 MB / 0.7903 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5327, allocations: 1.406 kB / 0.7903 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.5331, allocations: 92.95 kB / 0.7904 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/0.5337, allocations: 148 kB / 0.7905 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.5337, allocations: 17.34 kB / 0.7905 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.5348, allocations: 1.72 MB / 0.7922 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5349, allocations: 2.406 kB / 0.7922 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.5364, allocations: 0.7847 MB / 0.793 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.5367, allocations: 250.1 kB / 0.7932 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.5369, allocations: 7.312 kB / 0.7932 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.5375, allocations: 50.97 kB / 0.7933 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.5376, allocations: 29.97 kB / 0.7933 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.5376, allocations: 21.69 kB / 0.7933 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009612/0.5386, allocations: 0.66 MB / 0.7939 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5386, allocations: 1.062 kB / 0.7939 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00122/0.5398, allocations: 380.5 kB / 0.7943 GB, free: 12.46 MB / 0.5606 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.002607/0.5425, allocations: 1.637 MB / 0.7959 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.544, allocations: 0.5738 MB / 0.7965 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.544, allocations: 1.219 kB / 0.7965 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000795/0.5448, allocations: 307.3 kB / 0.7968 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.5471, allocations: 0.5263 MB / 0.7973 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.5572, allocations: 7.747 MB / 0.8048 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.5579, allocations: 1.102 MB / 0.8059 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007159/0.5586, allocations: 185.6 kB / 0.8061 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/0.559, allocations: 416.7 kB / 0.8065 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.559, allocations: 1.031 kB / 0.8065 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05869/0.6177, allocations: 29.31 MB / 0.8351 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.09, allocations: 3 kB / 0.8351 GB, free: 7.062 MB / 0.5762 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)