Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.001204/0.001204, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001407/0.001407, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.564/2.564, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004395, allocations: 16 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8478, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2357/1.084, allocations: 198.8 MB / 1.175 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02623/1.11, allocations: 14.76 MB / 1.189 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/1.113, allocations: 67.5 kB / 1.189 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/1.118, allocations: 1.061 MB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0141/1.132, allocations: 3.524 MB / 1.194 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006548/1.139, allocations: 1.748 MB / 1.196 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007722/1.146, allocations: 3.066 MB / 1.199 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003318/1.15, allocations: 1.3 MB / 1.2 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/1.156, allocations: 1.807 MB / 1.202 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/1.16, allocations: 1.109 MB / 1.203 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005422/1.16, allocations: 84 kB / 1.203 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/1.165, allocations: 1.248 MB / 1.204 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000956/1.166, allocations: 0.6154 MB / 1.205 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/1.167, allocations: 440.6 kB / 1.205 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003935/1.171, allocations: 2.287 MB / 1.207 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.171, allocations: 0 / 1.207 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.584e-06/1.171, allocations: 4 kB / 1.207 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.26e-05/1.172, allocations: 0 / 1.207 GB, free: 13.79 MB / 0.9669 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.004802/1.176, allocations: 2.082 MB / 1.209 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/1.176, allocations: 11.97 kB / 1.209 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003909/1.177, allocations: 215.1 kB / 1.21 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/1.18, allocations: 0.5087 MB / 1.21 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/1.183, allocations: 1.215 MB / 1.211 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/1.183, allocations: 178.2 kB / 1.211 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/1.183, allocations: 155.9 kB / 1.212 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/1.186, allocations: 1.722 MB / 1.213 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/1.187, allocations: 4 kB / 1.213 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/1.187, allocations: 63.98 kB / 1.213 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/1.187, allocations: 62.62 kB / 1.213 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/1.19, allocations: 1.385 MB / 1.215 GB, free: 5.98 MB / 0.9669 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.01336/1.204, allocations: 8.206 MB / 1.223 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/1.206, allocations: 0.9313 MB / 1.224 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/1.206, allocations: 150 kB / 1.224 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/1.206, allocations: 47.56 kB / 1.224 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=96): time 4.349e-06/1.206, allocations: 4 kB / 1.224 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102): time 0.008575/1.215, allocations: 3.164 MB / 1.227 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/1.215, allocations: 60.41 kB / 1.227 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/1.217, allocations: 1.25 MB / 1.228 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/1.217, allocations: 49.7 kB / 1.228 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/1.218, allocations: 0.8055 MB / 1.229 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/1.218, allocations: 374.6 kB / 1.229 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/1.218, allocations: 20 kB / 1.229 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.219, allocations: 357.9 kB / 1.23 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/1.219, allocations: 442.3 kB / 1.23 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/1.221, allocations: 0.826 MB / 1.231 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/1.223, allocations: 0.5573 MB / 1.232 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.223, allocations: 4 kB / 1.232 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004714/1.228, allocations: 1.398 MB / 1.233 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.002853/1.231, allocations: 3.665 MB / 1.237 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.231, allocations: 15.94 kB / 1.237 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.727e-05/1.231, allocations: 16 kB / 1.237 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/1.233, allocations: 279.6 kB / 1.237 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.399e-05/1.233, allocations: 27.92 kB / 1.237 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/1.237, allocations: 183.5 kB / 1.237 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.237, allocations: 48 kB / 1.237 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.237, allocations: 5.562 kB / 1.237 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003862/1.241, allocations: 1.222 MB / 1.238 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.241, allocations: 12.19 kB / 1.238 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/1.241, allocations: 20 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/1.243, allocations: 283.5 kB / 1.239 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.659e-05/1.243, allocations: 19.94 kB / 1.239 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/1.247, allocations: 177.1 kB / 1.239 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/1.247, allocations: 47.98 kB / 1.239 GB, free: 12.01 MB / 0.9981 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.001669/1.249, allocations: 0.5162 MB / 1.239 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/1.249, allocations: 162 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/1.253, allocations: 1.17 MB / 1.241 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.253, allocations: 12 kB / 1.241 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.253, allocations: 0 / 1.241 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003062/1.256, allocations: 1.099 MB / 1.242 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009085/1.265, allocations: 2.801 MB / 1.244 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.265, allocations: 4 kB / 1.244 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/1.268, allocations: 251.9 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-05/1.268, allocations: 11.95 kB / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.268, allocations: 27.98 kB / 1.245 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/1.268, allocations: 4 kB / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.268, allocations: 4 kB / 1.245 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005081/1.273, allocations: 1.896 MB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.274, allocations: 339 kB / 1.247 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/1.274, allocations: 31.98 kB / 1.247 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.276, allocations: 139.7 kB / 1.247 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.276, allocations: 68.94 kB / 1.247 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/1.276, allocations: 35.98 kB / 1.247 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001351/1.277, allocations: 0.8309 MB / 1.248 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.277, allocations: 4 kB / 1.248 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002339/1.28, allocations: 0.7656 MB / 1.249 GB, free: 1.594 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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.7732/2.053, allocations: 3.053 MB / 1.252 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003661/2.057, allocations: 1.745 MB / 1.253 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.057, allocations: 0.6875 kB / 1.253 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/2.058, allocations: 0.5246 MB / 1.254 GB, free: 264.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/2.063, allocations: 0.951 MB / 1.255 GB, free: 264 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/2.086, allocations: 16.31 MB / 1.271 GB, free: 252.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/2.087, allocations: 1.48 MB / 1.272 GB, free: 251.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002478/2.089, allocations: 0.5639 MB / 1.273 GB, free: 251.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/2.09, allocations: 0.6835 MB / 1.273 GB, free: 251.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.352e-06/2.09, allocations: 0 / 1.273 GB, free: 251.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/2.155, allocations: 44.42 MB / 1.317 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/2.155, allocations: 229.5 kB / 1.317 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/5.614, allocations: 3.938 kB / 1.317 GB, free: 211.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat does not exist to compare? outputFormat=mat