Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.0012, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4769/0.4769, allocations: 90.8 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 93.91 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.558e-05, allocations: 0 / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4329, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.985/5.418, allocations: 1.849 GB / 2.409 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/5.418, allocations: 84.39 kB / 2.41 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.609/9.027, allocations: 1.009 GB / 3.419 GB, free: 41.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/9.027, allocations: 0 / 3.419 GB, free: 41.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001463/9.027, allocations: 32.2 kB / 3.419 GB, free: 41.71 MB / 0.6198 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.006518/9.034, allocations: 1.794 MB / 3.421 GB, free: 39.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/9.034, allocations: 11.98 kB / 3.421 GB, free: 39.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/9.034, allocations: 135.1 kB / 3.421 GB, free: 39.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/9.037, allocations: 0.5441 MB / 3.421 GB, free: 39.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/9.04, allocations: 1.074 MB / 3.423 GB, free: 38.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006035/9.041, allocations: 193.9 kB / 3.423 GB, free: 37.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/9.041, allocations: 84 kB / 3.423 GB, free: 37.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/9.043, allocations: 1.142 MB / 3.424 GB, free: 36.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/9.043, allocations: 0 / 3.424 GB, free: 36.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/9.043, allocations: 43.92 kB / 3.424 GB, free: 36.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/9.044, allocations: 41.98 kB / 3.424 GB, free: 36.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/9.045, allocations: 1.117 MB / 3.425 GB, free: 35.41 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.006881/9.052, allocations: 4.196 MB / 3.429 GB, free: 30.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/9.053, allocations: 0.7575 MB / 3.43 GB, free: 30.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/9.054, allocations: 0.5121 MB / 3.43 GB, free: 29.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008606/9.055, allocations: 0.6088 MB / 3.431 GB, free: 28.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/9.055, allocations: 51.3 kB / 3.431 GB, free: 28.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/9.055, allocations: 0 / 3.431 GB, free: 28.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.002063/9.057, allocations: 1.014 MB / 3.432 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/9.057, allocations: 64.19 kB / 3.432 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/9.058, allocations: 0.7015 MB / 3.433 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/9.058, allocations: 45.7 kB / 3.433 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/9.059, allocations: 448.6 kB / 3.433 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/9.059, allocations: 260.1 kB / 3.434 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/9.059, allocations: 16 kB / 3.434 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/9.059, allocations: 334 kB / 3.434 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/9.06, allocations: 405.4 kB / 3.434 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/9.06, allocations: 0.5481 MB / 3.435 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/9.061, allocations: 467.3 kB / 3.435 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/9.061, allocations: 0 / 3.435 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001767/9.063, allocations: 1.098 MB / 3.436 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/9.063, allocations: 483 kB / 3.437 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/9.063, allocations: 3.938 kB / 3.437 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/9.063, allocations: 4 kB / 3.437 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/9.064, allocations: 283.6 kB / 3.437 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005215/9.065, allocations: 1.188 MB / 3.438 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/9.066, allocations: 199.4 kB / 3.438 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/9.066, allocations: 35.97 kB / 3.438 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/9.067, allocations: 8 kB / 3.438 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/9.068, allocations: 0.9998 MB / 3.439 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/9.068, allocations: 4 kB / 3.439 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/9.068, allocations: 4 kB / 3.439 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/9.069, allocations: 259.8 kB / 3.44 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/9.069, allocations: 7.984 kB / 3.44 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/9.07, allocations: 191.2 kB / 3.44 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/9.071, allocations: 39.97 kB / 3.44 GB, free: 19.64 MB / 0.6198 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 () * 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.0002432/9.071, allocations: 148.9 kB / 3.44 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/9.071, allocations: 106.7 kB / 3.44 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/9.073, allocations: 1.12 MB / 3.441 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/9.073, allocations: 15.94 kB / 3.441 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/9.073, allocations: 0 / 3.441 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/9.073, allocations: 3.984 kB / 3.441 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/9.077, allocations: 2.598 MB / 3.444 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/9.077, allocations: 12 kB / 3.444 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/9.078, allocations: 259.7 kB / 3.444 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/9.078, allocations: 8 kB / 3.444 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/9.078, allocations: 27.97 kB / 3.444 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004099/9.079, allocations: 1.195 MB / 3.445 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/9.079, allocations: 8.062 kB / 3.445 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/9.08, allocations: 1.385 MB / 3.447 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006896/9.081, allocations: 319.5 kB / 3.447 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/9.081, allocations: 15.98 kB / 3.447 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/9.083, allocations: 167.8 kB / 3.447 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/9.083, allocations: 64.44 kB / 3.447 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.484e-05/9.083, allocations: 35.97 kB / 3.447 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007448/9.084, allocations: 0.5508 MB / 3.448 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.02e-07/9.084, allocations: 0 / 3.448 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002817/9.087, allocations: 0.7646 MB / 3.448 GB, free: 10.5 MB / 0.6198 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 () * 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.005047/9.092, allocations: 5.231 MB / 3.454 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002843/9.095, allocations: 1.674 MB / 3.455 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/9.095, allocations: 0 / 3.455 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/9.095, allocations: 0.5384 MB / 3.456 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/9.098, allocations: 0.5125 MB / 3.456 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/9.113, allocations: 2.624 MB / 3.459 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/9.114, allocations: 1.112 MB / 3.46 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002745/9.117, allocations: 487 kB / 3.46 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007481/9.117, allocations: 379.3 kB / 3.461 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of SimCode: time 1.653e-06/9.117, allocations: 0 / 3.461 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5435/9.661, allocations: 69.95 MB / 3.529 GB, free: 77.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/9.661, allocations: 236.6 kB / 3.529 GB, free: 77.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.435/14.1, allocations: 2.375 kB / 3.529 GB, free: 77.49 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)