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.001073/0.001073, allocations: 109.4 kB / 15.69 MB, free: 128 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.00115/0.001151, allocations: 187.2 kB / 16.62 MB, free: 6.613 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.324/1.324, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.727/1.727, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001582/0.001582, allocations: 72.81 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2457, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6286/0.8743, allocations: 181.9 MB / 0.9612 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008011/0.8824, allocations: 5.305 MB / 0.9664 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.8839, allocations: 32.03 kB / 0.9664 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.8852, allocations: 433.9 kB / 0.9668 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.8901, allocations: 1.662 MB / 0.9685 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.8922, allocations: 0.8079 MB / 0.9693 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.8954, allocations: 2.161 MB / 0.9714 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.8965, allocations: 0.6768 MB / 0.972 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.8981, allocations: 0.7321 MB / 0.9727 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.8997, allocations: 0.6764 MB / 0.9734 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.8999, allocations: 75.41 kB / 0.9735 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.9031, allocations: 1.395 MB / 0.9748 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004382/0.9035, allocations: 326.7 kB / 0.9752 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006904/0.9042, allocations: 467.2 kB / 0.9756 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.9071, allocations: 1.655 MB / 0.9772 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9071, allocations: 1.281 kB / 0.9772 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9071, allocations: 0 / 0.9772 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.9072, allocations: 0 / 0.9772 GB, free: 13.86 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.002022/0.9092, allocations: 1.172 MB / 0.9784 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.9092, allocations: 10.34 kB / 0.9784 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.9094, allocations: 104.8 kB / 0.9785 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.9111, allocations: 269.3 kB / 0.9787 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.9123, allocations: 0.6951 MB / 0.9794 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.9123, allocations: 45 kB / 0.9795 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-05/0.9124, allocations: 59.25 kB / 0.9795 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009728/0.9134, allocations: 0.581 MB / 0.9801 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.9134, allocations: 3.906 kB / 0.9801 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.9135, allocations: 24.12 kB / 0.9801 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.9135, allocations: 23.47 kB / 0.9801 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.9143, allocations: 0.4964 MB / 0.9806 GB, free: 11.7 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.003076/0.9174, allocations: 2.361 MB / 0.9829 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.9181, allocations: 424.4 kB / 0.9833 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.9184, allocations: 218.6 kB / 0.9835 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.9186, allocations: 101.3 kB / 0.9836 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.9186, allocations: 41.31 kB / 0.9837 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.427e-06/0.9186, allocations: 7.984 kB / 0.9837 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.002769/0.9214, allocations: 1.431 MB / 0.9851 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.9215, allocations: 56.75 kB / 0.9851 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.922, allocations: 0.5352 MB / 0.9856 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.9221, allocations: 38.36 kB / 0.9857 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.9223, allocations: 322.5 kB / 0.986 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.9225, allocations: 172.7 kB / 0.9862 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.9226, allocations: 88.5 kB / 0.9862 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9227, allocations: 373.7 kB / 0.9866 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.923, allocations: 178 kB / 0.9868 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.9234, allocations: 252.4 kB / 0.987 GB, free: 6.801 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.003055/0.9264, allocations: 1.43 MB / 0.9884 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9264, allocations: 0 / 0.9884 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007784/0.9272, allocations: 0.5204 MB / 0.9889 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.9273, allocations: 8.312 kB / 0.9889 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.9273, allocations: 6.469 kB / 0.9889 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9273, allocations: 2.562 kB / 0.9889 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.9277, allocations: 101.8 kB / 0.989 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9277, allocations: 2.281 kB / 0.989 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.9284, allocations: 20.64 kB / 0.989 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.9284, allocations: 20.97 kB / 0.9891 GB, free: 5.625 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.0003174/0.9287, allocations: 254.6 kB / 0.9893 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.9288, allocations: 67.88 kB / 0.9894 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.929, allocations: 84.44 kB / 0.9895 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.929, allocations: 4.938 kB / 0.9895 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.929, allocations: 1.438 kB / 0.9895 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006648/0.9297, allocations: 0.5071 MB / 0.99 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.9319, allocations: 1.574 MB / 0.9915 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.9319, allocations: 5.812 kB / 0.9915 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.9324, allocations: 120.7 kB / 0.9916 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.9325, allocations: 8.406 kB / 0.9916 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.9325, allocations: 21.91 kB / 0.9916 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.9325, allocations: 11.41 kB / 0.9917 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.9325, allocations: 8.812 kB / 0.9917 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.9337, allocations: 0.9447 MB / 0.9926 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.934, allocations: 192.3 kB / 0.9928 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.9341, allocations: 20.11 kB / 0.9928 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.9346, allocations: 29.44 kB / 0.9928 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.9347, allocations: 44.95 kB / 0.9929 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.9348, allocations: 21.78 kB / 0.9929 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004685/0.9352, allocations: 390.8 kB / 0.9933 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9353, allocations: 4 kB / 0.9933 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006927/0.936, allocations: 199 kB / 0.9934 GB, free: 2.613 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.001783/0.9377, allocations: 1.556 MB / 0.995 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000732/0.9385, allocations: 439.9 kB / 0.9954 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9385, allocations: 4 kB / 0.9954 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.9388, allocations: 245.7 kB / 0.9956 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.941, allocations: 0.4886 MB / 0.9961 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.9477, allocations: 5.407 MB / 1.001 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.9483, allocations: 0.9732 MB / 1.002 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006134/0.949, allocations: 165.8 kB / 1.002 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.9493, allocations: 255.4 kB / 1.003 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/0.9493, allocations: 0 / 1.003 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.9935, allocations: 20.21 MB / 1.022 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/9.622, allocations: 7.781 kB / 1.022 GB, free: 15.11 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)