Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.0009183/0.0009182, allocations: 91.84 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.0008376/0.0008376, 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.293 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.479/2.479, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006049/0.000605, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.8961, allocations: 142.3 MB / 0.9538 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2152/1.111, allocations: 195.2 MB / 1.144 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01115/1.123, allocations: 6.626 MB / 1.151 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/1.124, allocations: 39.75 kB / 1.151 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/1.126, allocations: 0.5005 MB / 1.151 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006319/1.133, allocations: 1.804 MB / 1.153 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/1.136, allocations: 0.8974 MB / 1.154 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004586/1.141, allocations: 3.198 MB / 1.157 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/1.143, allocations: 0.7961 MB / 1.158 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/1.147, allocations: 1.521 MB / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/1.149, allocations: 0.8715 MB / 1.16 GB, free: 12.15 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004004/1.15, allocations: 48 kB / 1.16 GB, free: 12.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/1.154, allocations: 1.54 MB / 1.162 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006507/1.155, allocations: 338.8 kB / 1.162 GB, free: 10.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007107/1.155, allocations: 269.1 kB / 1.162 GB, free: 9.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/1.158, allocations: 1.711 MB / 1.164 GB, free: 8.242 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.158, allocations: 4 kB / 1.164 GB, free: 8.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.164e-06/1.158, allocations: 0 / 1.164 GB, free: 8.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.213e-05/1.158, allocations: 0 / 1.164 GB, free: 8.238 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004728/1.163, allocations: 1.626 MB / 1.166 GB, free: 6.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/1.163, allocations: 8.031 kB / 1.166 GB, free: 6.547 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003126/1.164, allocations: 127.1 kB / 1.166 GB, free: 6.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/1.167, allocations: 0.5838 MB / 1.166 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/1.169, allocations: 0.9258 MB / 1.167 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006041/1.169, allocations: 205.8 kB / 1.168 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/1.17, allocations: 80 kB / 1.168 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/1.173, allocations: 1.268 MB / 1.169 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/1.173, allocations: 3.953 kB / 1.169 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.173, allocations: 32 kB / 1.169 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-05/1.173, allocations: 45.98 kB / 1.169 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003866/1.177, allocations: 1.612 MB / 1.17 GB, free: 1.609 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.007498/1.184, allocations: 4.077 MB / 1.174 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/1.187, allocations: 1.049 MB / 1.175 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/1.189, allocations: 0.6964 MB / 1.176 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.19, allocations: 0.636 MB / 1.177 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.19, allocations: 43.16 kB / 1.177 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/1.19, allocations: 4 kB / 1.177 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004892/1.195, allocations: 1.914 MB / 1.179 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.195, allocations: 60.06 kB / 1.179 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.196, allocations: 0.8115 MB / 1.18 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/1.196, allocations: 45.64 kB / 1.18 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/1.197, allocations: 444.5 kB / 1.18 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/1.197, allocations: 256.2 kB / 1.18 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/1.197, allocations: 12 kB / 1.18 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.197, allocations: 337.9 kB / 1.181 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/1.199, allocations: 0.5602 MB / 1.181 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/1.2, allocations: 0.6863 MB / 1.182 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/1.202, allocations: 0.61 MB / 1.182 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.202, allocations: 0 / 1.182 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003601/1.205, allocations: 1.407 MB / 1.184 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.206, allocations: 144 kB / 1.184 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.206, allocations: 7.984 kB / 1.184 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.206, allocations: 4 kB / 1.184 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.207, allocations: 275.6 kB / 1.184 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009615/1.208, allocations: 1.191 MB / 1.185 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/1.21, allocations: 191.4 kB / 1.186 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.21, allocations: 35.97 kB / 1.186 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.21, allocations: 5.562 kB / 1.186 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002917/1.213, allocations: 1.294 MB / 1.187 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.213, allocations: 11.95 kB / 1.187 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.213, allocations: 12.05 kB / 1.187 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.214, allocations: 247.7 kB / 1.187 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.214, allocations: 4 kB / 1.187 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.215, allocations: 195.1 kB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/1.215, allocations: 39.97 kB / 1.187 GB, free: 15.74 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007077/1.216, allocations: 372.9 kB / 1.188 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/1.216, allocations: 98.78 kB / 1.188 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/1.22, allocations: 1.441 MB / 1.189 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.22, allocations: 8 kB / 1.189 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.22, allocations: 0 / 1.189 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.22, allocations: 3.984 kB / 1.189 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006045/1.226, allocations: 2.925 MB / 1.192 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.226, allocations: 4.469 kB / 1.192 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.227, allocations: 259.6 kB / 1.192 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.203e-05/1.227, allocations: 8 kB / 1.192 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.227, allocations: 19.98 kB / 1.192 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009155/1.228, allocations: 1.195 MB / 1.194 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/1.228, allocations: 20.14 kB / 1.194 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/1.232, allocations: 1.525 MB / 1.195 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/1.233, allocations: 311.5 kB / 1.195 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/1.233, allocations: 16 kB / 1.195 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.234, allocations: 171.7 kB / 1.195 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.235, allocations: 64.38 kB / 1.196 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.235, allocations: 35.92 kB / 1.196 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001212/1.236, allocations: 0.5622 MB / 1.196 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.236, allocations: 4 kB / 1.196 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001665/1.238, allocations: 0.5302 MB / 1.197 GB, free: 5.938 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003998/1.242, allocations: 2.256 MB / 1.199 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00504/1.247, allocations: 2.12 MB / 1.201 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/1.247, allocations: 0 / 1.201 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/1.248, allocations: 0.7067 MB / 1.202 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/1.251, allocations: 0.5184 MB / 1.202 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.266, allocations: 6.943 MB / 1.209 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/1.267, allocations: 1.094 MB / 1.21 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001996/1.269, allocations: 395.5 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007015/1.27, allocations: 383.3 kB / 1.211 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of SimCode: time 1.062e-06/1.27, allocations: 4 kB / 1.211 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/1.33, allocations: 28.98 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.33, allocations: 262.8 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.93, allocations: 0 / 1.239 GB, free: 10.33 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat