Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CoupledVolumesWater,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.001277/0.001277, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001252/0.001252, allocations: 187.7 kB / 16.25 MB, free: 6.586 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 71.88 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.751, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.0286/0.7796, allocations: 26.1 MB / 1.042 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.7903, allocations: 7.089 MB / 1.049 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.7917, allocations: 35.75 kB / 1.049 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.793, allocations: 330.2 kB / 1.05 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.7959, allocations: 1.034 MB / 1.051 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.7983, allocations: 0.8701 MB / 1.052 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002517/0.8008, allocations: 2.11 MB / 1.054 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008887/0.8017, allocations: 0.6121 MB / 1.054 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.8036, allocations: 0.7335 MB / 1.055 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008133/0.8044, allocations: 0.5639 MB / 1.055 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.8046, allocations: 52 kB / 1.056 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.8061, allocations: 0.8109 MB / 1.056 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.8063, allocations: 167.4 kB / 1.056 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.8068, allocations: 394.1 kB / 1.057 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.8086, allocations: 1.196 MB / 1.058 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8086, allocations: 7.984 kB / 1.058 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8086, allocations: 0 / 1.058 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.8086, allocations: 0 / 1.058 GB, free: 8.516 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001672/0.8103, allocations: 1.055 MB / 1.059 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.8104, allocations: 8.031 kB / 1.059 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.8105, allocations: 86.7 kB / 1.059 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.8108, allocations: 84 kB / 1.059 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.812, allocations: 0.7332 MB / 1.06 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.812, allocations: 37 kB / 1.06 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.8121, allocations: 47.91 kB / 1.06 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.8129, allocations: 0.5039 MB / 1.061 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.8129, allocations: 0 / 1.061 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.813, allocations: 20 kB / 1.061 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.813, allocations: 12 kB / 1.061 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.8135, allocations: 323.7 kB / 1.061 GB, free: 5.48 MB / 0.8106 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.002784/0.8163, allocations: 2.744 MB / 1.064 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.8166, allocations: 190.5 kB / 1.064 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.8168, allocations: 100.8 kB / 1.064 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.8171, allocations: 340.9 kB / 1.064 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.8171, allocations: 42.44 kB / 1.064 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.8171, allocations: 0 / 1.064 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005746/0.8177, allocations: 308.1 kB / 1.064 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.8178, allocations: 51.41 kB / 1.065 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.8184, allocations: 0.5186 MB / 1.065 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.8184, allocations: 29.7 kB / 1.065 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.8186, allocations: 347.3 kB / 1.065 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.8187, allocations: 78.84 kB / 1.065 GB, free: 396 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.8188, allocations: 81.59 kB / 1.066 GB, free: 308 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.819, allocations: 362.8 kB / 1.066 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.8191, allocations: 92.81 kB / 1.066 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.8193, allocations: 237.9 kB / 1.066 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.8197, allocations: 342.1 kB / 1.067 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8197, allocations: 0 / 1.067 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005884/0.8203, allocations: 392 kB / 1.067 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8204, allocations: 11.94 kB / 1.067 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8204, allocations: 4 kB / 1.067 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8204, allocations: 8 kB / 1.067 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.8207, allocations: 79.89 kB / 1.067 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8207, allocations: 7.938 kB / 1.067 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.8211, allocations: 59.89 kB / 1.067 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.8212, allocations: 23.98 kB / 1.067 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002878/0.8215, allocations: 248 kB / 1.067 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002154/0.8217, allocations: 226.7 kB / 1.068 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003575/0.8221, allocations: 332 kB / 1.068 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.8221, allocations: 0 / 1.068 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005643/0.8226, allocations: 394.7 kB / 1.068 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.8227, allocations: 4 kB / 1.068 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8227, allocations: 4 kB / 1.068 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.8227, allocations: 8 kB / 1.068 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.8229, allocations: 75.91 kB / 1.068 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.8229, allocations: 19.86 kB / 1.068 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.8233, allocations: 43.8 kB / 1.068 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.8234, allocations: 27.92 kB / 1.068 GB, free: 13.09 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001275/0.8235, allocations: 200.1 kB / 1.069 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.8236, allocations: 59.34 kB / 1.069 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.8241, allocations: 278.4 kB / 1.069 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8241, allocations: 15.94 kB / 1.069 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8241, allocations: 0 / 1.069 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003318/0.8245, allocations: 379.2 kB / 1.069 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.8259, allocations: 1.054 MB / 1.07 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.8259, allocations: 0 / 1.07 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.8261, allocations: 51.91 kB / 1.07 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.8261, allocations: 4 kB / 1.07 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.8261, allocations: 8 kB / 1.07 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.8262, allocations: 4 kB / 1.07 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8262, allocations: 11.92 kB / 1.07 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.8268, allocations: 0.5258 MB / 1.071 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.827, allocations: 172.3 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.8271, allocations: 8 kB / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.8275, allocations: 31.88 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.8275, allocations: 19.98 kB / 1.071 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.8276, allocations: 19.98 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004282/0.828, allocations: 399.1 kB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.828, allocations: 0 / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009852/0.829, allocations: 351.3 kB / 1.072 GB, free: 9.316 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001421/0.8304, allocations: 1.267 MB / 1.073 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006432/0.8311, allocations: 419.5 kB / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8311, allocations: 0 / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.8313, allocations: 105.2 kB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.8329, allocations: 379.3 kB / 1.074 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.8388, allocations: 4.693 MB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.8392, allocations: 0.8941 MB / 1.079 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006146/0.8399, allocations: 157 kB / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.8402, allocations: 219.3 kB / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.8402, allocations: 0 / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.875, allocations: 17.44 MB / 1.097 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.8752, allocations: 257.4 kB / 1.097 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.288, allocations: 4 kB / 1.097 GB, free: 15.56 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)