Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001444/0.001444, allocations: 173.1 kB / 377.1 MB, free: 1.543 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.988/1.988, allocations: 205.4 MB / 0.6366 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 92.39 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 16 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.094/6.421, allocations: 2.09 GB / 3.079 GB, free: 91.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/6.421, allocations: 85.58 kB / 3.079 GB, free: 91.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.194/10.62, allocations: 1.002 GB / 4.08 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.755e-06/10.62, allocations: 0 / 4.08 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001967/10.62, allocations: 34.27 kB / 4.08 GB, free: 135.1 MB / 0.9636 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.008304/10.62, allocations: 1.909 MB / 4.082 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/10.62, allocations: 14.91 kB / 4.082 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005789/10.62, allocations: 137.1 kB / 4.082 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/10.63, allocations: 0.5446 MB / 4.083 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/10.63, allocations: 1.044 MB / 4.084 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006528/10.63, allocations: 199.6 kB / 4.084 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/10.63, allocations: 84.41 kB / 4.084 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/10.64, allocations: 1.343 MB / 4.085 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/10.64, allocations: 0 / 4.085 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/10.64, allocations: 29.25 kB / 4.085 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-05/10.64, allocations: 49.19 kB / 4.085 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/10.64, allocations: 1.567 MB / 4.087 GB, free: 133.6 MB / 0.9636 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.008578/10.65, allocations: 4.096 MB / 4.091 GB, free: 132 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/10.65, allocations: 1.037 MB / 4.092 GB, free: 132 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/10.65, allocations: 0.6085 MB / 4.093 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/10.65, allocations: 42.88 kB / 4.093 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 3.977e-06/10.65, allocations: 3.312 kB / 4.093 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.00515/10.66, allocations: 1.886 MB / 4.094 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/10.66, allocations: 63.22 kB / 4.095 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/10.66, allocations: 0.7145 MB / 4.095 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/10.66, allocations: 45.61 kB / 4.095 GB, free: 131 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/10.66, allocations: 448.5 kB / 4.096 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/10.66, allocations: 255.5 kB / 4.096 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/10.66, allocations: 15.03 kB / 4.096 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001175/10.66, allocations: 334.7 kB / 4.096 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/10.66, allocations: 0.5647 MB / 4.097 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/10.66, allocations: 0.701 MB / 4.098 GB, free: 130 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/10.66, allocations: 0.6231 MB / 4.098 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/10.66, allocations: 2.438 kB / 4.098 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003267/10.67, allocations: 1.419 MB / 4.1 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/10.67, allocations: 486.5 kB / 4.1 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/10.67, allocations: 3.719 kB / 4.1 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/10.67, allocations: 6.75 kB / 4.1 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/10.67, allocations: 269.4 kB / 4.1 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006027/10.67, allocations: 1.192 MB / 4.101 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/10.67, allocations: 198.9 kB / 4.102 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/10.67, allocations: 42.88 kB / 4.102 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/10.67, allocations: 3.844 kB / 4.102 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/10.68, allocations: 1.308 MB / 4.103 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/10.68, allocations: 6.406 kB / 4.103 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/10.68, allocations: 2.688 kB / 4.103 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/10.68, allocations: 252.6 kB / 4.103 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/10.68, allocations: 3.5 kB / 4.103 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/10.68, allocations: 199 kB / 4.103 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/10.68, allocations: 37.77 kB / 4.103 GB, free: 127.1 MB / 0.9636 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.0008475/10.68, allocations: 390.5 kB / 4.104 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/10.68, allocations: 103.4 kB / 4.104 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/10.68, allocations: 1.415 MB / 4.105 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/10.68, allocations: 7.531 kB / 4.105 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/10.68, allocations: 0 / 4.105 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/10.68, allocations: 7.672 kB / 4.105 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005754/10.69, allocations: 2.889 MB / 4.108 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/10.69, allocations: 3.625 kB / 4.108 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/10.69, allocations: 251.3 kB / 4.108 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/10.69, allocations: 7.094 kB / 4.108 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/10.69, allocations: 29.84 kB / 4.108 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005597/10.69, allocations: 1.196 MB / 4.11 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/10.69, allocations: 11.47 kB / 4.11 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/10.69, allocations: 1.698 MB / 4.111 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/10.69, allocations: 306.3 kB / 4.111 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/10.7, allocations: 19.53 kB / 4.112 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/10.7, allocations: 172.4 kB / 4.112 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/10.7, allocations: 62.02 kB / 4.112 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/10.7, allocations: 34.5 kB / 4.112 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007618/10.7, allocations: 0.5578 MB / 4.112 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/10.7, allocations: 0 / 4.112 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002625/10.7, allocations: 0.7635 MB / 4.113 GB, free: 122.2 MB / 0.9636 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.007112/10.71, allocations: 5.544 MB / 4.118 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005096/10.71, allocations: 2.106 MB / 4.121 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/10.71, allocations: 7.219 kB / 4.121 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/10.71, allocations: 0.6937 MB / 4.121 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/10.72, allocations: 0.5 MB / 4.122 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/10.72, allocations: 3.614 MB / 4.125 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/10.72, allocations: 1.114 MB / 4.126 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001754/10.72, allocations: 405 kB / 4.127 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/10.73, allocations: 388.5 kB / 4.127 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.153e-06/10.73, allocations: 0 / 4.127 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/10.83, allocations: 61.88 MB / 4.188 GB, free: 71.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/10.83, allocations: 255.2 kB / 4.188 GB, free: 71.56 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.444/15.27, allocations: 0 / 4.188 GB, free: 71.56 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)