Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 178.8 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.00102, allocations: 82.89 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 11.86 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2871, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.14/6.427, allocations: 2.208 GB / 3.108 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/6.428, allocations: 87.95 kB / 3.108 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.841/10.27, allocations: 0.9692 GB / 4.077 GB, free: 54.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.254e-06/10.27, allocations: 0 / 4.077 GB, free: 54.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.41e-05/10.27, allocations: 31.98 kB / 4.077 GB, free: 54.92 MB / 0.8855 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.005783/10.27, allocations: 1.899 MB / 4.079 GB, free: 52.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/10.27, allocations: 8.031 kB / 4.079 GB, free: 52.96 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/10.27, allocations: 143.1 kB / 4.079 GB, free: 52.81 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/10.28, allocations: 0.5448 MB / 4.08 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/10.28, allocations: 1.054 MB / 4.081 GB, free: 51.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/10.28, allocations: 193.9 kB / 4.081 GB, free: 50.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/10.28, allocations: 91.95 kB / 4.081 GB, free: 50.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/10.28, allocations: 1.333 MB / 4.082 GB, free: 49.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/10.28, allocations: 4 kB / 4.082 GB, free: 49.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/10.28, allocations: 35.98 kB / 4.082 GB, free: 49.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/10.28, allocations: 45.98 kB / 4.082 GB, free: 49.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/10.29, allocations: 1.569 MB / 4.084 GB, free: 47.88 MB / 0.8855 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.006367/10.29, allocations: 4.074 MB / 4.088 GB, free: 43.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/10.3, allocations: 1.044 MB / 4.089 GB, free: 42.47 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009073/10.3, allocations: 0.6087 MB / 4.089 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/10.3, allocations: 43.22 kB / 4.089 GB, free: 41.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.835e-06/10.3, allocations: 4 kB / 4.089 GB, free: 41.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.00434/10.3, allocations: 1.886 MB / 4.091 GB, free: 39.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/10.3, allocations: 64.02 kB / 4.091 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/10.3, allocations: 0.7168 MB / 4.092 GB, free: 39 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/10.3, allocations: 41.7 kB / 4.092 GB, free: 38.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/10.3, allocations: 444.5 kB / 4.092 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/10.3, allocations: 264.1 kB / 4.093 GB, free: 38.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/10.3, allocations: 16 kB / 4.093 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/10.3, allocations: 334 kB / 4.093 GB, free: 37.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/10.3, allocations: 0.5602 MB / 4.094 GB, free: 37.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/10.31, allocations: 0.7023 MB / 4.094 GB, free: 36.58 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/10.31, allocations: 0.6255 MB / 4.095 GB, free: 35.96 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/10.31, allocations: 0 / 4.095 GB, free: 35.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003003/10.31, allocations: 1.415 MB / 4.096 GB, free: 34.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/10.31, allocations: 485.3 kB / 4.097 GB, free: 34.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/10.31, allocations: 0 / 4.097 GB, free: 34.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/10.31, allocations: 4 kB / 4.097 GB, free: 34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/10.31, allocations: 267.7 kB / 4.097 GB, free: 33.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/10.31, allocations: 1.191 MB / 4.098 GB, free: 32.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/10.31, allocations: 203.3 kB / 4.098 GB, free: 32.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/10.31, allocations: 43.97 kB / 4.098 GB, free: 32.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/10.31, allocations: 4 kB / 4.098 GB, free: 32.26 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00272/10.32, allocations: 1.309 MB / 4.1 GB, free: 30.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/10.32, allocations: 0 / 4.1 GB, free: 30.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/10.32, allocations: 4 kB / 4.1 GB, free: 30.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/10.32, allocations: 255.8 kB / 4.1 GB, free: 30.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/10.32, allocations: 15.94 kB / 4.1 GB, free: 30.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/10.32, allocations: 195.2 kB / 4.1 GB, free: 30.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/10.32, allocations: 35.97 kB / 4.1 GB, free: 30.45 MB / 0.8855 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.0007187/10.32, allocations: 376.9 kB / 4.1 GB, free: 30.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/10.32, allocations: 110.7 kB / 4.101 GB, free: 29.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/10.32, allocations: 1.414 MB / 4.102 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/10.32, allocations: 12 kB / 4.102 GB, free: 28.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/10.32, allocations: 3.953 kB / 4.102 GB, free: 28.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/10.32, allocations: 3.984 kB / 4.102 GB, free: 28.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/10.33, allocations: 2.885 MB / 4.105 GB, free: 25.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/10.33, allocations: 4 kB / 4.105 GB, free: 25.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/10.33, allocations: 248.2 kB / 4.105 GB, free: 25.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/10.33, allocations: 12 kB / 4.105 GB, free: 25.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/10.33, allocations: 31.94 kB / 4.105 GB, free: 25.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004109/10.33, allocations: 1.192 MB / 4.106 GB, free: 24 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/10.33, allocations: 4 kB / 4.106 GB, free: 24 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/10.33, allocations: 1.706 MB / 4.108 GB, free: 22.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/10.33, allocations: 315.5 kB / 4.108 GB, free: 21.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/10.33, allocations: 19.98 kB / 4.108 GB, free: 21.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/10.33, allocations: 163.8 kB / 4.108 GB, free: 21.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/10.33, allocations: 64.38 kB / 4.108 GB, free: 21.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/10.33, allocations: 39.91 kB / 4.108 GB, free: 21.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007291/10.33, allocations: 0.5583 MB / 4.109 GB, free: 20.96 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/10.33, allocations: 4 kB / 4.109 GB, free: 20.96 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00253/10.34, allocations: 0.7685 MB / 4.11 GB, free: 20.19 MB / 0.8855 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.007483/10.34, allocations: 5.529 MB / 4.115 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005057/10.35, allocations: 2.112 MB / 4.117 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/10.35, allocations: 0 / 4.117 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/10.35, allocations: 0.6949 MB / 4.118 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/10.35, allocations: 0.5015 MB / 4.118 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/10.36, allocations: 3.585 MB / 4.122 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/10.36, allocations: 1.11 MB / 4.123 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001682/10.36, allocations: 403.5 kB / 4.123 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/10.36, allocations: 387.3 kB / 4.124 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of SimCode: time 9.81e-07/10.36, allocations: 0 / 4.124 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7085/11.07, allocations: 61.87 MB / 4.184 GB, free: 146.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/11.07, allocations: 274.3 kB / 4.184 GB, free: 146.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.463/15.54, allocations: 2.188 kB / 4.184 GB, free: 146.2 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)