Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.001216/0.001216, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001896/0.001896, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 223.2 MB / 240 MB, free: 5.449 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.468/2.468, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8475, allocations: 142.3 MB / 0.9538 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.217/1.065, allocations: 195.2 MB / 1.144 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01117/1.076, allocations: 6.615 MB / 1.151 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/1.077, allocations: 35.75 kB / 1.151 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/1.079, allocations: 0.5044 MB / 1.151 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006024/1.085, allocations: 1.8 MB / 1.153 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/1.088, allocations: 0.8979 MB / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004149/1.092, allocations: 3.21 MB / 1.157 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/1.094, allocations: 0.7843 MB / 1.158 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/1.097, allocations: 1.525 MB / 1.159 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/1.099, allocations: 0.8715 MB / 1.16 GB, free: 12.13 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/1.099, allocations: 48 kB / 1.16 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/1.102, allocations: 1.54 MB / 1.162 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/1.103, allocations: 338.8 kB / 1.162 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/1.103, allocations: 273.1 kB / 1.162 GB, free: 9.938 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/1.105, allocations: 1.715 MB / 1.164 GB, free: 8.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.105, allocations: 0 / 1.164 GB, free: 8.219 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.214e-06/1.105, allocations: 0 / 1.164 GB, free: 8.219 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.77e-05/1.105, allocations: 0 / 1.164 GB, free: 8.219 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.00402/1.109, allocations: 1.622 MB / 1.166 GB, free: 6.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.109, allocations: 11.97 kB / 1.166 GB, free: 6.527 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/1.11, allocations: 135.1 kB / 1.166 GB, free: 6.387 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/1.112, allocations: 0.576 MB / 1.166 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.114, allocations: 0.9337 MB / 1.167 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005539/1.115, allocations: 193.9 kB / 1.168 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.115, allocations: 87.94 kB / 1.168 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/1.118, allocations: 1.26 MB / 1.169 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/1.118, allocations: 3.953 kB / 1.169 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.118, allocations: 31.98 kB / 1.169 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.575e-05/1.118, allocations: 49.98 kB / 1.169 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/1.121, allocations: 1.608 MB / 1.17 GB, free: 1.594 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.00644/1.128, allocations: 4.077 MB / 1.174 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/1.13, allocations: 1.048 MB / 1.175 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/1.131, allocations: 0.702 MB / 1.176 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/1.133, allocations: 0.636 MB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.133, allocations: 39.22 kB / 1.177 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/1.133, allocations: 0 / 1.177 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004608/1.137, allocations: 1.918 MB / 1.179 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/1.137, allocations: 56.06 kB / 1.179 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/1.138, allocations: 0.8115 MB / 1.18 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.18e-05/1.138, allocations: 45.7 kB / 1.18 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/1.139, allocations: 444.5 kB / 1.18 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/1.139, allocations: 256.2 kB / 1.18 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/1.139, allocations: 12 kB / 1.18 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.139, allocations: 341.8 kB / 1.181 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/1.14, allocations: 0.5641 MB / 1.181 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.142, allocations: 0.6824 MB / 1.182 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/1.143, allocations: 0.6178 MB / 1.182 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.143, allocations: 3.938 kB / 1.182 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003092/1.146, allocations: 1.403 MB / 1.184 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.146, allocations: 143.9 kB / 1.184 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.146, allocations: 64 / 1.184 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.147, allocations: 11.98 kB / 1.184 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.148, allocations: 271.7 kB / 1.184 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006664/1.149, allocations: 1.199 MB / 1.185 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.15, allocations: 195.3 kB / 1.186 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/1.15, allocations: 35.97 kB / 1.186 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/1.15, allocations: 4 kB / 1.186 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002896/1.153, allocations: 1.301 MB / 1.187 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.153, allocations: 3.953 kB / 1.187 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/1.153, allocations: 7.984 kB / 1.187 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.154, allocations: 243.8 kB / 1.187 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.154, allocations: 7.984 kB / 1.187 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.155, allocations: 195.1 kB / 1.187 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.842e-05/1.155, allocations: 27.98 kB / 1.187 GB, free: 15.73 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.0005558/1.156, allocations: 385 kB / 1.188 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/1.156, allocations: 102.8 kB / 1.188 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/1.159, allocations: 1.429 MB / 1.189 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.159, allocations: 8 kB / 1.189 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.159, allocations: 4 kB / 1.189 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/1.159, allocations: 7.922 kB / 1.189 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/1.165, allocations: 2.929 MB / 1.192 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.165, allocations: 4 kB / 1.192 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.166, allocations: 256 kB / 1.192 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.166, allocations: 8 kB / 1.192 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/1.166, allocations: 23.98 kB / 1.192 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005555/1.167, allocations: 1.195 MB / 1.194 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.167, allocations: 7.953 kB / 1.194 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/1.17, allocations: 1.529 MB / 1.195 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.172, allocations: 315.5 kB / 1.195 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/1.172, allocations: 12 kB / 1.195 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.173, allocations: 171.7 kB / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.173, allocations: 64.38 kB / 1.196 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/1.173, allocations: 31.98 kB / 1.196 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009412/1.174, allocations: 0.5661 MB / 1.196 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.174, allocations: 0 / 1.196 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001487/1.176, allocations: 0.5341 MB / 1.197 GB, free: 5.914 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.004282/1.18, allocations: 2.251 MB / 1.199 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005611/1.186, allocations: 2.12 MB / 1.201 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.186, allocations: 0 / 1.201 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/1.188, allocations: 0.7028 MB / 1.202 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.191, allocations: 0.5274 MB / 1.202 GB, free: 244 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.206, allocations: 6.947 MB / 1.209 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/1.207, allocations: 1.091 MB / 1.21 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001861/1.209, allocations: 395.5 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/1.209, allocations: 387.3 kB / 1.211 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of SimCode: time 9.52e-07/1.209, allocations: 0 / 1.211 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/1.268, allocations: 29 MB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.268, allocations: 283 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.845, allocations: 3.938 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat does not exist to compare? outputFormat=mat