Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_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.0007547/0.0007547, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.004616/0.004616, allocations: 170.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004891, allocations: 14.94 kB / 0.6744 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.5143/0.6915, allocations: 209.2 MB / 0.9923 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008643/0.7002, allocations: 6.971 MB / 0.9991 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.7009, allocations: 39.97 kB / 0.9992 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.7023, allocations: 0.6528 MB / 0.9998 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.7066, allocations: 2.34 MB / 1.002 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.7087, allocations: 1.061 MB / 1.003 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002923/0.7116, allocations: 3.73 MB / 1.007 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.7127, allocations: 0.8862 MB / 1.008 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.7155, allocations: 1.758 MB / 1.009 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.7168, allocations: 0.9125 MB / 1.01 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.74e-05/0.7169, allocations: 46.47 kB / 1.01 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.7204, allocations: 2.796 MB / 1.013 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.7207, allocations: 346.1 kB / 1.013 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004947/0.7212, allocations: 0.6254 MB / 1.014 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.7234, allocations: 2.521 MB / 1.016 GB, free: 372 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7234, allocations: 4 kB / 1.016 GB, free: 368 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7234, allocations: 0 / 1.016 GB, free: 368 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.7235, allocations: 0 / 1.016 GB, free: 368 kB / 0.7325 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.003434/0.7269, allocations: 1.61 MB / 1.018 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.7269, allocations: 14.78 kB / 1.018 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.7271, allocations: 129.2 kB / 1.018 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.7299, allocations: 0.5895 MB / 1.019 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.7313, allocations: 0.9553 MB / 1.02 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005969/0.7319, allocations: 198.5 kB / 1.02 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.732, allocations: 82.31 kB / 1.02 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.7344, allocations: 1.274 MB / 1.021 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.7345, allocations: 4 kB / 1.021 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.7346, allocations: 30.22 kB / 1.021 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.7346, allocations: 47.83 kB / 1.021 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.738, allocations: 1.62 MB / 1.023 GB, free: 12.46 MB / 0.7481 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.005258/0.7432, allocations: 4.091 MB / 1.027 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.7455, allocations: 1.059 MB / 1.028 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.747, allocations: 0.7023 MB / 1.029 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009604/0.7479, allocations: 0.6348 MB / 1.029 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.748, allocations: 42.05 kB / 1.029 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 1.823e-06/0.748, allocations: 5.812 kB / 1.029 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004404/0.7524, allocations: 1.924 MB / 1.031 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.7524, allocations: 59.78 kB / 1.031 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.7532, allocations: 0.8169 MB / 1.032 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.7533, allocations: 42.3 kB / 1.032 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.7536, allocations: 439.4 kB / 1.032 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.7538, allocations: 263.2 kB / 1.033 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.7539, allocations: 60.59 kB / 1.033 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.754, allocations: 341.8 kB / 1.033 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.7554, allocations: 0.5644 MB / 1.034 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.7568, allocations: 0.7014 MB / 1.034 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/0.7595, allocations: 1.218 MB / 1.035 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7595, allocations: 0 / 1.035 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003044/0.7625, allocations: 1.432 MB / 1.037 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.7626, allocations: 151.7 kB / 1.037 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7626, allocations: 3.984 kB / 1.037 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7626, allocations: 6.875 kB / 1.037 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.764, allocations: 288.5 kB / 1.037 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005788/0.7646, allocations: 1.184 MB / 1.038 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.7657, allocations: 196.4 kB / 1.039 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.7658, allocations: 39.97 kB / 1.039 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.7658, allocations: 8 kB / 1.039 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003041/0.7689, allocations: 1.336 MB / 1.04 GB, free: 308 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.7689, allocations: 0 / 1.04 GB, free: 308 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.7689, allocations: 4 kB / 1.04 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.77, allocations: 251.7 kB / 1.04 GB, free: 52 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.77, allocations: 4 kB / 1.04 GB, free: 48 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.771, allocations: 191.2 kB / 1.04 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.7711, allocations: 35.97 kB / 1.04 GB, free: 15.82 MB / 0.7637 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004046/0.7715, allocations: 372.9 kB / 1.041 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.7717, allocations: 110.6 kB / 1.041 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.775, allocations: 1.445 MB / 1.042 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.775, allocations: 8 kB / 1.042 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.775, allocations: 0 / 1.042 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.7751, allocations: 3.984 kB / 1.042 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/0.78, allocations: 2.923 MB / 1.045 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7801, allocations: 4 kB / 1.045 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.7812, allocations: 250.5 kB / 1.045 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.7812, allocations: 11.94 kB / 1.045 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.7813, allocations: 19.98 kB / 1.045 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004899/0.7818, allocations: 1.196 MB / 1.047 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7818, allocations: 4 kB / 1.047 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.7849, allocations: 1.537 MB / 1.048 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.7852, allocations: 315.5 kB / 1.048 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.7854, allocations: 19.94 kB / 1.048 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.7865, allocations: 175.6 kB / 1.049 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7867, allocations: 48.5 kB / 1.049 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.7868, allocations: 35.97 kB / 1.049 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006041/0.7874, allocations: 0.5739 MB / 1.049 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7874, allocations: 0 / 1.049 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001087/0.7885, allocations: 0.5341 MB / 1.05 GB, free: 6.016 MB / 0.7637 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003727/0.7922, allocations: 2.257 MB / 1.052 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004907/0.7971, allocations: 2.146 MB / 1.054 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7971, allocations: 0 / 1.054 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.7988, allocations: 0.7144 MB / 1.055 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.8015, allocations: 0.5072 MB / 1.055 GB, free: 332 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.8178, allocations: 9.691 MB / 1.065 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.8184, allocations: 1.094 MB / 1.066 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001397/0.8198, allocations: 395.5 kB / 1.066 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.8204, allocations: 387.3 kB / 1.067 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8204, allocations: 0 / 1.067 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.938/5.758, allocations: 27.47 MB / 1.093 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/5.759, allocations: 301 kB / 1.094 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/8.458, allocations: 3.938 kB / 1.094 GB, free: 9.035 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)