Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0009995/0.0009994, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001274/0.001274, allocations: 172.7 kB / 15.95 MB, free: 208 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8792, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2191/1.098, allocations: 180.9 MB / 1.131 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01548/1.114, allocations: 9.671 MB / 1.14 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/1.116, allocations: 55.69 kB / 1.14 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/1.118, allocations: 397.1 kB / 1.14 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00555/1.123, allocations: 1.454 MB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004751/1.128, allocations: 1.049 MB / 1.143 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007033/1.135, allocations: 3.128 MB / 1.146 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/1.138, allocations: 0.8745 MB / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/1.142, allocations: 1.307 MB / 1.148 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/1.144, allocations: 0.8752 MB / 1.149 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004652/1.145, allocations: 48 kB / 1.149 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/1.149, allocations: 1.318 MB / 1.15 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008874/1.15, allocations: 330.8 kB / 1.151 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000996/1.151, allocations: 277 kB / 1.151 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003942/1.155, allocations: 1.679 MB / 1.152 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.155, allocations: 4 kB / 1.152 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.505e-06/1.155, allocations: 0 / 1.152 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.915e-05/1.155, allocations: 0 / 1.152 GB, free: 4.199 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003873/1.159, allocations: 1.573 MB / 1.154 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/1.159, allocations: 12.03 kB / 1.154 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003445/1.16, allocations: 148.3 kB / 1.154 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.162, allocations: 373.8 kB / 1.155 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/1.164, allocations: 0.8863 MB / 1.155 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/1.164, allocations: 78 kB / 1.155 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.164, allocations: 100 kB / 1.156 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.166, allocations: 1.099 MB / 1.157 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.166, allocations: 0 / 1.157 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/1.166, allocations: 44 kB / 1.157 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/1.166, allocations: 42 kB / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.167, allocations: 0.7923 MB / 1.157 GB, free: 14.91 MB / 0.92 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.00623/1.174, allocations: 5.09 MB / 1.162 GB, free: 9.453 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.175, allocations: 0.6958 MB / 1.163 GB, free: 8.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/1.175, allocations: 343 kB / 1.163 GB, free: 8.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006086/1.176, allocations: 331.9 kB / 1.164 GB, free: 8.039 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.176, allocations: 51.06 kB / 1.164 GB, free: 7.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 2.014e-06/1.176, allocations: 0 / 1.164 GB, free: 7.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.002166/1.178, allocations: 0.931 MB / 1.165 GB, free: 7.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.178, allocations: 59.97 kB / 1.165 GB, free: 6.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.18, allocations: 0.8724 MB / 1.166 GB, free: 6.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/1.18, allocations: 41.7 kB / 1.166 GB, free: 6.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/1.18, allocations: 0.5584 MB / 1.166 GB, free: 5.465 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/1.18, allocations: 248.4 kB / 1.166 GB, free: 5.219 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/1.181, allocations: 16 kB / 1.166 GB, free: 5.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.181, allocations: 337.9 kB / 1.167 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/1.181, allocations: 245.9 kB / 1.167 GB, free: 4.625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/1.182, allocations: 447 kB / 1.167 GB, free: 4.117 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/1.182, allocations: 303.1 kB / 1.168 GB, free: 3.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.182, allocations: 0 / 1.168 GB, free: 3.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00139/1.184, allocations: 0.832 MB / 1.169 GB, free: 2.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/1.184, allocations: 242.7 kB / 1.169 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.184, allocations: 4 kB / 1.169 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/1.184, allocations: 12 kB / 1.169 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.185, allocations: 251.6 kB / 1.169 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/1.187, allocations: 1.401 MB / 1.17 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009578/1.188, allocations: 127.9 kB / 1.171 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/1.188, allocations: 28 kB / 1.171 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/1.188, allocations: 4 kB / 1.171 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/1.189, allocations: 0.706 MB / 1.171 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.189, allocations: 4.672 kB / 1.171 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/1.189, allocations: 11.98 kB / 1.171 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.19, allocations: 255.6 kB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/1.192, allocations: 1.393 MB / 1.173 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/1.193, allocations: 111.3 kB / 1.173 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/1.193, allocations: 32 kB / 1.173 GB, free: 14.08 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006496/1.193, allocations: 368.8 kB / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/1.194, allocations: 114.7 kB / 1.173 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/1.195, allocations: 0.7823 MB / 1.174 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.195, allocations: 8 kB / 1.174 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.195, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/1.197, allocations: 0.7156 MB / 1.175 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/1.2, allocations: 1.93 MB / 1.177 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.2, allocations: 4 kB / 1.177 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/1.201, allocations: 143.8 kB / 1.177 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/1.201, allocations: 45.05 kB / 1.177 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/1.201, allocations: 19.98 kB / 1.177 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/1.203, allocations: 1.352 MB / 1.178 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.203, allocations: 3.938 kB / 1.178 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/1.205, allocations: 1.234 MB / 1.18 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/1.205, allocations: 247.6 kB / 1.18 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.205, allocations: 20 kB / 1.18 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/1.206, allocations: 61.44 kB / 1.18 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/1.206, allocations: 52.39 kB / 1.18 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/1.206, allocations: 27.98 kB / 1.18 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000927/1.207, allocations: 0.585 MB / 1.181 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.207, allocations: 0 / 1.181 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001835/1.209, allocations: 0.5259 MB / 1.181 GB, free: 5.516 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002956/1.212, allocations: 1.891 MB / 1.183 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003444/1.215, allocations: 1.178 MB / 1.184 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.215, allocations: 4 kB / 1.184 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/1.216, allocations: 446.3 kB / 1.184 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.219, allocations: 0.498 MB / 1.185 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.23, allocations: 6.628 MB / 1.191 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.231, allocations: 1.148 MB / 1.193 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00125/1.232, allocations: 264.8 kB / 1.193 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/1.233, allocations: 463.3 kB / 1.193 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of SimCode: time 9.11e-07/1.233, allocations: 0 / 1.193 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05489/1.288, allocations: 26.74 MB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003383/1.288, allocations: 265.3 kB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.722, allocations: 0 / 1.22 GB, free: 13.93 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat does not exist to compare? outputFormat=mat