Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.001259/0.001259, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008605/0.008606, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5664, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.03671/0.6031, allocations: 39.82 MB / 0.9941 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006507/0.6097, allocations: 4.085 MB / 0.998 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.6102, allocations: 35.75 kB / 0.9981 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.611, allocations: 294.3 kB / 0.9984 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.6157, allocations: 2.276 MB / 1.001 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.6174, allocations: 0.8396 MB / 1.001 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.6201, allocations: 2.896 MB / 1.004 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.6207, allocations: 0.5177 MB / 1.005 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5409/1.162, allocations: 2.446 MB / 1.007 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009345/1.163, allocations: 0.5482 MB / 1.008 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/1.163, allocations: 24 kB / 1.008 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/1.168, allocations: 3.366 MB / 1.011 GB, free: 6 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/1.168, allocations: 143.4 kB / 1.011 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003681/1.169, allocations: 367.9 kB / 1.011 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/1.171, allocations: 1.78 MB / 1.013 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/1.171, allocations: 0 / 1.013 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.323e-06/1.171, allocations: 0 / 1.013 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.171, allocations: 0 / 1.013 GB, free: 3.707 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00145/1.172, allocations: 1.051 MB / 1.014 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/1.172, allocations: 15.97 kB / 1.014 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/1.172, allocations: 86.7 kB / 1.014 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.174, allocations: 156 kB / 1.014 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.175, allocations: 0.7871 MB / 1.015 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/1.175, allocations: 37 kB / 1.015 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/1.175, allocations: 51.91 kB / 1.015 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/1.176, allocations: 0.5157 MB / 1.016 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.176, allocations: 0 / 1.016 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/1.176, allocations: 20 kB / 1.016 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/1.176, allocations: 12 kB / 1.016 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/1.177, allocations: 343.7 kB / 1.016 GB, free: 0.5078 MB / 0.7637 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.002539/1.179, allocations: 2.451 MB / 1.019 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/1.18, allocations: 267.7 kB / 1.019 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/1.18, allocations: 140.8 kB / 1.019 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009261/1.181, allocations: 1.378 MB / 1.02 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/1.181, allocations: 38.56 kB / 1.02 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=31): time 1.442e-06/1.181, allocations: 0 / 1.02 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43): time 0.004426/1.185, allocations: 1.785 MB / 1.022 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.185, allocations: 59.41 kB / 1.022 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/1.186, allocations: 0.4912 MB / 1.023 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/1.186, allocations: 37.7 kB / 1.023 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/1.186, allocations: 328.4 kB / 1.023 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/1.186, allocations: 153.8 kB / 1.023 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/1.186, allocations: 45.7 kB / 1.023 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.187, allocations: 366.8 kB / 1.024 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/1.187, allocations: 145 kB / 1.024 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/1.187, allocations: 270.8 kB / 1.024 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/1.188, allocations: 436.9 kB / 1.024 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.188, allocations: 8 kB / 1.024 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001016/1.189, allocations: 0.6032 MB / 1.025 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-05/1.189, allocations: 167.7 kB / 1.025 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.189, allocations: 4 kB / 1.025 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007823/1.19, allocations: 201.5 kB / 1.025 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/1.19, allocations: 67.91 kB / 1.025 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/1.191, allocations: 1.354 MB / 1.027 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/1.192, allocations: 32.11 kB / 1.027 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/1.192, allocations: 23.98 kB / 1.027 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/1.192, allocations: 4 kB / 1.027 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009098/1.193, allocations: 0.5242 MB / 1.027 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.193, allocations: 4 kB / 1.027 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/1.193, allocations: 197.5 kB / 1.027 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/1.194, allocations: 68.22 kB / 1.028 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/1.195, allocations: 1.358 MB / 1.029 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/1.195, allocations: 36.05 kB / 1.029 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/1.195, allocations: 27.98 kB / 1.029 GB, free: 2.578 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003041/1.195, allocations: 285 kB / 1.029 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.195, allocations: 71.17 kB / 1.029 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/1.197, allocations: 0.6184 MB / 1.03 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.197, allocations: 4.188 kB / 1.03 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.197, allocations: 7.922 kB / 1.03 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009339/1.198, allocations: 0.6633 MB / 1.03 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/1.2, allocations: 1.45 MB / 1.032 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/1.2, allocations: 8.016 kB / 1.032 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.2, allocations: 47.92 kB / 1.032 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/1.201, allocations: 213.5 kB / 1.032 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/1.201, allocations: 12 kB / 1.032 GB, free: 15.06 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/1.202, allocations: 1.331 MB / 1.033 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.202, allocations: 0 / 1.033 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/1.204, allocations: 0.8773 MB / 1.034 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/1.204, allocations: 196.3 kB / 1.035 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/1.204, allocations: 8 kB / 1.035 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/1.205, allocations: 35.89 kB / 1.035 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/1.205, allocations: 31.89 kB / 1.035 GB, free: 12.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/1.205, allocations: 20 kB / 1.035 GB, free: 12.47 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004022/1.205, allocations: 354.8 kB / 1.035 GB, free: 12.12 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/1.205, allocations: 0 / 1.035 GB, free: 12.12 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001306/1.207, allocations: 455.8 kB / 1.035 GB, free: 11.68 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,7), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002561/1.209, allocations: 1.768 MB / 1.037 GB, free: 9.883 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.21, allocations: 0.6767 MB / 1.038 GB, free: 9.207 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.21, allocations: 0 / 1.038 GB, free: 9.207 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005159/1.211, allocations: 244.6 kB / 1.038 GB, free: 8.969 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.213, allocations: 315 kB / 1.038 GB, free: 8.664 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/1.22, allocations: 5.288 MB / 1.043 GB, free: 3.215 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/1.22, allocations: 0.9181 MB / 1.044 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006112/1.221, allocations: 197 kB / 1.045 GB, free: 2.074 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/1.221, allocations: 239.3 kB / 1.045 GB, free: 1.84 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/1.221, allocations: 4 kB / 1.045 GB, free: 1.836 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.779/2, allocations: 21.38 MB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/2.001, allocations: 293.4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.292/5.292, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)