Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_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.001166/0.001166, 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.001146/0.001146, allocations: 177.3 kB / 15.94 MB, free: 220 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.569/1.569, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.655/2.655, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003687, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8823/0.8827, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2058/1.089, allocations: 176.7 MB / 1.153 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01188/1.101, allocations: 6.977 MB / 1.16 GB, free: 14.17 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/1.102, allocations: 31.75 kB / 1.16 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00281/1.105, allocations: 0.7233 MB / 1.161 GB, free: 13.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008052/1.113, allocations: 2.25 MB / 1.163 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/1.117, allocations: 1.065 MB / 1.164 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003851/1.121, allocations: 1.635 MB / 1.166 GB, free: 8.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/1.122, allocations: 0.8353 MB / 1.167 GB, free: 7.617 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/1.126, allocations: 1.308 MB / 1.168 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/1.128, allocations: 0.6264 MB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/1.128, allocations: 48 kB / 1.169 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/1.132, allocations: 1.326 MB / 1.17 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004464/1.132, allocations: 318.9 kB / 1.17 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/1.133, allocations: 273.1 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/1.136, allocations: 1.602 MB / 1.172 GB, free: 2.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.136, allocations: 0 / 1.172 GB, free: 2.109 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.855e-06/1.136, allocations: 0 / 1.172 GB, free: 2.109 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.057e-05/1.136, allocations: 0 / 1.172 GB, free: 2.109 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.004463/1.14, allocations: 1.579 MB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.14, allocations: 8.031 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/1.14, allocations: 139.1 kB / 1.174 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/1.144, allocations: 0.5838 MB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/1.146, allocations: 0.9272 MB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006511/1.146, allocations: 201.9 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/1.147, allocations: 80 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/1.149, allocations: 1.26 MB / 1.177 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.149, allocations: 0 / 1.177 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.15, allocations: 32 kB / 1.177 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/1.15, allocations: 49.92 kB / 1.177 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/1.154, allocations: 1.604 MB / 1.178 GB, free: 11.54 MB / 0.9356 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.007195/1.161, allocations: 4.081 MB / 1.182 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/1.164, allocations: 1.069 MB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008109/1.164, allocations: 294.9 kB / 1.184 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/1.164, allocations: 47.2 kB / 1.184 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.985e-06/1.164, allocations: 0 / 1.184 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.005381/1.17, allocations: 1.914 MB / 1.185 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.17, allocations: 64 kB / 1.186 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/1.171, allocations: 0.8116 MB / 1.186 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/1.171, allocations: 41.7 kB / 1.186 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/1.172, allocations: 452.5 kB / 1.187 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/1.172, allocations: 256.2 kB / 1.187 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/1.172, allocations: 16 kB / 1.187 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.172, allocations: 334 kB / 1.187 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.174, allocations: 0.5524 MB / 1.188 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/1.175, allocations: 0.691 MB / 1.189 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/1.177, allocations: 0.61 MB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.177, allocations: 0 / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003611/1.18, allocations: 1.404 MB / 1.191 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/1.18, allocations: 485.3 kB / 1.191 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.181, allocations: 3.984 kB / 1.191 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.181, allocations: 4 kB / 1.191 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/1.182, allocations: 287.5 kB / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/1.183, allocations: 1.184 MB / 1.192 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.184, allocations: 195.5 kB / 1.193 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/1.185, allocations: 35.97 kB / 1.193 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.185, allocations: 11.94 kB / 1.193 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003219/1.188, allocations: 1.305 MB / 1.194 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.188, allocations: 4 kB / 1.194 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/1.188, allocations: 4 kB / 1.194 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.189, allocations: 243.8 kB / 1.194 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.189, allocations: 7.984 kB / 1.194 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/1.19, allocations: 199.1 kB / 1.194 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/1.191, allocations: 27.98 kB / 1.194 GB, free: 10.42 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0006649/1.191, allocations: 382.3 kB / 1.195 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/1.191, allocations: 110.7 kB / 1.195 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/1.195, allocations: 1.433 MB / 1.196 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.195, allocations: 8 kB / 1.196 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.195, allocations: 0 / 1.196 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.195, allocations: 3.984 kB / 1.196 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/1.201, allocations: 2.993 MB / 1.199 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/1.201, allocations: 7.938 kB / 1.199 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.202, allocations: 248.1 kB / 1.199 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.202, allocations: 8 kB / 1.199 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/1.202, allocations: 27.98 kB / 1.2 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006282/1.203, allocations: 1.192 MB / 1.201 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.203, allocations: 7.938 kB / 1.201 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/1.206, allocations: 1.749 MB / 1.202 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/1.207, allocations: 315.6 kB / 1.203 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/1.207, allocations: 16 kB / 1.203 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.209, allocations: 163.7 kB / 1.203 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.209, allocations: 68.38 kB / 1.203 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/1.209, allocations: 39.97 kB / 1.203 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007864/1.21, allocations: 0.5622 MB / 1.204 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/1.21, allocations: 0 / 1.204 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001527/1.211, allocations: 0.5263 MB / 1.204 GB, free: 216 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.004982/1.216, allocations: 3.637 MB / 1.208 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005523/1.222, allocations: 2.123 MB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.222, allocations: 4.125 kB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.224, allocations: 0.7028 MB / 1.21 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.226, allocations: 0.5052 MB / 1.211 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/1.233, allocations: 3.616 MB / 1.214 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007287/1.234, allocations: 1.114 MB / 1.215 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001848/1.235, allocations: 395.5 kB / 1.216 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006293/1.236, allocations: 391.3 kB / 1.216 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of SimCode: time 8.71e-07/1.236, allocations: 0 / 1.216 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.499/2.735, allocations: 28.5 MB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/2.736, allocations: 280.5 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/5.991, allocations: 0 / 1.244 GB, free: 7.082 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat does not exist to compare? outputFormat=mat