Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.568/1.568, allocations: 287.4 MB / 302.6 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 182.3 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007962/0.0007963, allocations: 100.6 kB / 0.7431 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 9.625 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.5324/0.7021, allocations: 195.2 MB / 1.169 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.009398/0.7116, allocations: 6.534 MB / 1.176 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.7126, allocations: 35.62 kB / 1.176 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.7141, allocations: 0.5007 MB / 1.176 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.7191, allocations: 1.775 MB / 1.178 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.7222, allocations: 0.9086 MB / 1.179 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.7258, allocations: 3.206 MB / 1.182 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.727, allocations: 0.868 MB / 1.183 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.73, allocations: 1.518 MB / 1.184 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009763/0.731, allocations: 0.8652 MB / 1.185 GB, free: 48 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.7311, allocations: 46.41 kB / 1.185 GB, free: 48 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.7339, allocations: 1.546 MB / 1.187 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.7343, allocations: 347.3 kB / 1.187 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.7345, allocations: 267.7 kB / 1.187 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.7362, allocations: 1.708 MB / 1.189 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7362, allocations: 2.938 kB / 1.189 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7362, allocations: 0 / 1.189 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.7362, allocations: 0 / 1.189 GB, free: 13.76 MB / 0.7292 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.003344/0.7396, allocations: 1.594 MB / 1.191 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.7396, allocations: 12.81 kB / 1.191 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.7398, allocations: 136.3 kB / 1.191 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.7424, allocations: 0.5996 MB / 1.191 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.7439, allocations: 0.9501 MB / 1.192 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005501/0.7445, allocations: 198.7 kB / 1.192 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.7446, allocations: 88.8 kB / 1.192 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.747, allocations: 1.259 MB / 1.194 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.747, allocations: 0 / 1.194 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.7471, allocations: 35.83 kB / 1.194 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.7472, allocations: 49.8 kB / 1.194 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.7505, allocations: 1.614 MB / 1.195 GB, free: 9.812 MB / 0.7292 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.005399/0.7559, allocations: 4.095 MB / 1.199 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.7582, allocations: 1.045 MB / 1.2 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.7596, allocations: 0.7046 MB / 1.201 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009741/0.7605, allocations: 0.6284 MB / 1.202 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.7606, allocations: 50.92 kB / 1.202 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 2.776e-06/0.7606, allocations: 0 / 1.202 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.004263/0.7649, allocations: 1.914 MB / 1.204 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.7649, allocations: 59.94 kB / 1.204 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000827/0.7657, allocations: 0.8171 MB / 1.204 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.408e-05/0.7658, allocations: 38.83 kB / 1.205 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.7661, allocations: 448 kB / 1.205 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.7663, allocations: 260.5 kB / 1.205 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.7664, allocations: 14.88 kB / 1.205 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7665, allocations: 337.7 kB / 1.206 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.7677, allocations: 0.5647 MB / 1.206 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.7692, allocations: 0.6857 MB / 1.207 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.7718, allocations: 1.221 MB / 1.208 GB, free: 484 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7718, allocations: 3.938 kB / 1.208 GB, free: 480 kB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003023/0.7748, allocations: 1.411 MB / 1.209 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.42e-05/0.7749, allocations: 160.8 kB / 1.209 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7749, allocations: 0 / 1.209 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.775, allocations: 4 kB / 1.209 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.7764, allocations: 276.2 kB / 1.21 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006118/0.777, allocations: 1.199 MB / 1.211 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.7781, allocations: 203.8 kB / 1.211 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.7782, allocations: 35.98 kB / 1.211 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.7782, allocations: 4 kB / 1.211 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002917/0.7811, allocations: 1.321 MB / 1.212 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7811, allocations: 8 kB / 1.212 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.7811, allocations: 4 kB / 1.212 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.7822, allocations: 255.7 kB / 1.213 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7823, allocations: 4 kB / 1.213 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7833, allocations: 196.5 kB / 1.213 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.7834, allocations: 31.98 kB / 1.213 GB, free: 11.29 MB / 0.7448 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 (86): * Single equations (assignments): 83 * 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.0004686/0.7838, allocations: 372.9 kB / 1.213 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.784, allocations: 114.6 kB / 1.213 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/0.7873, allocations: 1.422 MB / 1.215 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.7873, allocations: 11.94 kB / 1.215 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7873, allocations: 0 / 1.215 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.7873, allocations: 3.984 kB / 1.215 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.7926, allocations: 2.913 MB / 1.218 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.7926, allocations: 4 kB / 1.218 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.7937, allocations: 256.1 kB / 1.218 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.7938, allocations: 11.94 kB / 1.218 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.7938, allocations: 23.98 kB / 1.218 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005652/0.7944, allocations: 1.192 MB / 1.219 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.7944, allocations: 8 kB / 1.219 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.7974, allocations: 1.529 MB / 1.221 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.7979, allocations: 311.5 kB / 1.221 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.798, allocations: 19.98 kB / 1.221 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7992, allocations: 171.6 kB / 1.221 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.7993, allocations: 60.42 kB / 1.221 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.7994, allocations: 35.97 kB / 1.221 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006669/0.8001, allocations: 0.5621 MB / 1.222 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8001, allocations: 0 / 1.222 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001258/0.8014, allocations: 0.5341 MB / 1.222 GB, free: 1.496 MB / 0.7448 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.003811/0.8052, allocations: 2.242 MB / 1.224 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005067/0.8103, allocations: 2.139 MB / 1.226 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.8103, allocations: 0 / 1.226 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.8119, allocations: 0.7066 MB / 1.227 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.8146, allocations: 0.5026 MB / 1.228 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.8278, allocations: 6.954 MB / 1.234 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.8284, allocations: 1.091 MB / 1.236 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001591/0.83, allocations: 391.5 kB / 1.236 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.8306, allocations: 391.3 kB / 1.236 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of SimCode: time 4.61e-07/0.8306, allocations: 0 / 1.236 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2659/1.097, allocations: 28.75 MB / 1.264 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.097, allocations: 272.8 kB / 1.265 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.794, allocations: 0 / 1.265 GB, free: 6.059 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)