Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.4 MB / 303.3 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 187.1 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 0.6307 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 94.3 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004446, allocations: 16.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.284, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.966/1.25, allocations: 221.3 MB / 1.196 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02487/1.275, allocations: 14.82 MB / 1.21 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/1.279, allocations: 67.38 kB / 1.21 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004016/1.283, allocations: 0.7909 MB / 1.211 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/1.295, allocations: 2.84 MB / 1.214 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005618/1.301, allocations: 1.358 MB / 1.215 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01011/1.311, allocations: 6.213 MB / 1.221 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/1.314, allocations: 1.278 MB / 1.223 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/1.321, allocations: 2.165 MB / 1.225 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004203/1.325, allocations: 1.638 MB / 1.226 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000485/1.326, allocations: 84 kB / 1.226 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005569/1.332, allocations: 1.512 MB / 1.228 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/1.333, allocations: 0.6698 MB / 1.228 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/1.334, allocations: 440.6 kB / 1.229 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004744/1.339, allocations: 2.424 MB / 1.231 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/1.339, allocations: 7.938 kB / 1.231 GB, free: 8.953 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.837e-06/1.339, allocations: 0 / 1.231 GB, free: 8.953 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.25e-05/1.339, allocations: 0 / 1.231 GB, free: 8.953 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004986/1.344, allocations: 2.121 MB / 1.233 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.344, allocations: 8.031 kB / 1.233 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003287/1.344, allocations: 223.1 kB / 1.234 GB, free: 6.543 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/1.347, allocations: 0.5009 MB / 1.234 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/1.35, allocations: 1.207 MB / 1.235 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/1.351, allocations: 178.2 kB / 1.235 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/1.351, allocations: 156 kB / 1.236 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/1.355, allocations: 1.733 MB / 1.237 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/1.355, allocations: 4 kB / 1.237 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/1.355, allocations: 60 kB / 1.237 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/1.355, allocations: 66.62 kB / 1.237 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/1.358, allocations: 1.373 MB / 1.239 GB, free: 1.121 MB / 0.7605 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.01147/1.37, allocations: 8.183 MB / 1.247 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.371, allocations: 0.916 MB / 1.248 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008929/1.372, allocations: 0.5419 MB / 1.248 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006749/1.373, allocations: 336.5 kB / 1.248 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/1.373, allocations: 51.45 kB / 1.248 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=96): time 3.437e-06/1.373, allocations: 0 / 1.248 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of matching and sorting (n=102): time 0.00753/1.38, allocations: 3.148 MB / 1.252 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/1.381, allocations: 64.41 kB / 1.252 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.382, allocations: 1.238 MB / 1.253 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.382, allocations: 49.7 kB / 1.253 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007269/1.383, allocations: 0.8093 MB / 1.254 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/1.383, allocations: 374.6 kB / 1.254 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/1.384, allocations: 24 kB / 1.254 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.384, allocations: 353.9 kB / 1.254 GB, free: 192 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/1.385, allocations: 434.4 kB / 1.255 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/1.386, allocations: 0.8273 MB / 1.256 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.387, allocations: 0.5689 MB / 1.256 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.387, allocations: 4 kB / 1.256 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002674/1.39, allocations: 1.39 MB / 1.257 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004128/1.39, allocations: 365.3 kB / 1.258 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.39, allocations: 12 kB / 1.258 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/1.39, allocations: 16 kB / 1.258 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.391, allocations: 283.5 kB / 1.258 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/1.391, allocations: 23.88 kB / 1.258 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.393, allocations: 159.6 kB / 1.258 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.393, allocations: 59.98 kB / 1.258 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.393, allocations: 4 kB / 1.258 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002222/1.395, allocations: 1.229 MB / 1.26 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.395, allocations: 12 kB / 1.26 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.395, allocations: 16.91 kB / 1.26 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.397, allocations: 275.6 kB / 1.26 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/1.397, allocations: 23.92 kB / 1.26 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.398, allocations: 169.2 kB / 1.26 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/1.398, allocations: 52 kB / 1.26 GB, free: 10 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001008/1.399, allocations: 0.5006 MB / 1.261 GB, free: 9.492 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/1.4, allocations: 170 kB / 1.261 GB, free: 9.324 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/1.402, allocations: 1.154 MB / 1.262 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.402, allocations: 12 kB / 1.262 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.402, allocations: 4 kB / 1.262 GB, free: 8.141 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001815/1.404, allocations: 1.091 MB / 1.263 GB, free: 7 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/1.409, allocations: 2.797 MB / 1.266 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.409, allocations: 8.031 kB / 1.266 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.41, allocations: 247.7 kB / 1.266 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.41, allocations: 4 kB / 1.266 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/1.41, allocations: 31.98 kB / 1.266 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/1.41, allocations: 4 kB / 1.266 GB, free: 3.832 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.41, allocations: 7.938 kB / 1.266 GB, free: 3.824 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/1.413, allocations: 1.836 MB / 1.268 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/1.414, allocations: 335 kB / 1.268 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/1.414, allocations: 24 kB / 1.268 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.415, allocations: 144.5 kB / 1.268 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.416, allocations: 72.8 kB / 1.268 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/1.416, allocations: 39.98 kB / 1.268 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001191/1.417, allocations: 0.8266 MB / 1.269 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.417, allocations: 0 / 1.269 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002269/1.419, allocations: 0.7657 MB / 1.27 GB, free: 15.73 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003893/1.423, allocations: 2.546 MB / 1.272 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003292/1.426, allocations: 1.736 MB / 1.274 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.426, allocations: 0 / 1.274 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/1.427, allocations: 0.5289 MB / 1.275 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004816/1.432, allocations: 0.973 MB / 1.276 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/1.45, allocations: 10.3 MB / 1.286 GB, free: 15.06 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.451, allocations: 1.438 MB / 1.287 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002572/1.454, allocations: 0.5563 MB / 1.288 GB, free: 13.03 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009874/1.455, allocations: 0.675 MB / 1.288 GB, free: 12.35 MB / 0.823 GB Notification: Performance of SimCode: time 1.343e-06/1.455, allocations: 0 / 1.288 GB, free: 12.35 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0956/1.55, allocations: 44.41 MB / 1.332 GB, free: 384 kB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/1.55, allocations: 241.5 kB / 1.332 GB, free: 136 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/5.247, allocations: 0 / 1.332 GB, free: 136 kB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)