Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.001105/0.001106, allocations: 104 kB / 15.61 MB, free: 148 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.00113/0.00113, allocations: 195.7 kB / 16.53 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 70.72 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.222, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6728/0.8948, allocations: 181.9 MB / 0.9611 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007544/0.9024, allocations: 5.305 MB / 0.9663 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.9037, allocations: 31.97 kB / 0.9663 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.905, allocations: 440 kB / 0.9667 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.9091, allocations: 1.672 MB / 0.9683 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.9111, allocations: 0.7821 MB / 0.9691 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.9138, allocations: 2.158 MB / 0.9712 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009331/0.9148, allocations: 0.6797 MB / 0.9719 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.9162, allocations: 0.73 MB / 0.9726 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.9179, allocations: 0.6858 MB / 0.9733 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.9181, allocations: 75.12 kB / 0.9733 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.9211, allocations: 1.39 MB / 0.9747 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.9214, allocations: 320 kB / 0.975 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.922, allocations: 462.3 kB / 0.9754 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.9245, allocations: 1.635 MB / 0.977 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9245, allocations: 1.312 kB / 0.977 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9245, allocations: 0 / 0.977 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.9246, allocations: 0 / 0.977 GB, free: 13.87 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002045/0.9266, allocations: 1.177 MB / 0.9782 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9267, allocations: 8 kB / 0.9782 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.9268, allocations: 106.1 kB / 0.9783 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.9288, allocations: 267.8 kB / 0.9785 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.9298, allocations: 0.6647 MB / 0.9792 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.9299, allocations: 44.14 kB / 0.9792 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.93, allocations: 58.59 kB / 0.9793 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.9311, allocations: 0.5776 MB / 0.9799 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.9311, allocations: 3.906 kB / 0.9799 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.9312, allocations: 21.12 kB / 0.9799 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.9312, allocations: 30.75 kB / 0.9799 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008838/0.9321, allocations: 0.4912 MB / 0.9804 GB, free: 11.77 MB / 0.7325 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.003456/0.9356, allocations: 2.385 MB / 0.9827 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.9363, allocations: 432 kB / 0.9831 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.9367, allocations: 217.8 kB / 0.9833 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.9369, allocations: 101.1 kB / 0.9834 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.937, allocations: 42.5 kB / 0.9835 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.767e-06/0.937, allocations: 0 / 0.9835 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003232/0.9402, allocations: 1.435 MB / 0.9849 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.9403, allocations: 69.59 kB / 0.9849 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.941, allocations: 0.5278 MB / 0.9855 GB, free: 8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.941, allocations: 38.77 kB / 0.9855 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.9412, allocations: 322.4 kB / 0.9858 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.9414, allocations: 173.5 kB / 0.986 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.9415, allocations: 84.27 kB / 0.986 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.9417, allocations: 373.5 kB / 0.9864 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.942, allocations: 176.1 kB / 0.9866 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.9424, allocations: 254.6 kB / 0.9868 GB, free: 6.855 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.9455, allocations: 1.436 MB / 0.9882 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9455, allocations: 0 / 0.9882 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008045/0.9463, allocations: 0.5204 MB / 0.9887 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.9464, allocations: 8.938 kB / 0.9887 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9464, allocations: 2.094 kB / 0.9887 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9464, allocations: 2.906 kB / 0.9887 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.9468, allocations: 95.3 kB / 0.9888 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.9468, allocations: 5.281 kB / 0.9888 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.9475, allocations: 16.72 kB / 0.9888 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.9475, allocations: 24.42 kB / 0.9889 GB, free: 5.676 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003241/0.9478, allocations: 250.1 kB / 0.9891 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.9479, allocations: 70.41 kB / 0.9892 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.9481, allocations: 81.25 kB / 0.9893 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9481, allocations: 5.625 kB / 0.9893 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.9481, allocations: 0 / 0.9893 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006729/0.9488, allocations: 0.5075 MB / 0.9898 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.9509, allocations: 1.578 MB / 0.9913 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.9509, allocations: 4.844 kB / 0.9913 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.9514, allocations: 117.8 kB / 0.9914 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.9514, allocations: 7.625 kB / 0.9914 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.9515, allocations: 21.44 kB / 0.9914 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.9515, allocations: 9.5 kB / 0.9915 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.9515, allocations: 11.31 kB / 0.9915 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.9526, allocations: 0.9411 MB / 0.9924 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.9529, allocations: 192.6 kB / 0.9926 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.953, allocations: 15.94 kB / 0.9926 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.9535, allocations: 30.73 kB / 0.9926 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.9536, allocations: 45.11 kB / 0.9927 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.9536, allocations: 21.86 kB / 0.9927 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004022/0.954, allocations: 391 kB / 0.993 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9541, allocations: 4 kB / 0.9931 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006578/0.9547, allocations: 200.5 kB / 0.9932 GB, free: 2.664 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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 (49): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/0.9566, allocations: 1.564 MB / 0.9948 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008256/0.9574, allocations: 480.7 kB / 0.9952 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.9574, allocations: 6.188 kB / 0.9952 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.9578, allocations: 239.1 kB / 0.9955 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.9599, allocations: 0.4893 MB / 0.9959 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/0.9666, allocations: 5.559 MB / 1.001 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.9672, allocations: 0.9725 MB / 1.002 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00068/0.9678, allocations: 163.8 kB / 1.002 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.9682, allocations: 247.7 kB / 1.003 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.9682, allocations: 0 / 1.003 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04401/1.012, allocations: 20.2 MB / 1.022 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/9.06, allocations: 12.55 kB / 1.022 GB, free: 14.96 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)