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.679/1.679, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001282/0.001282, allocations: 183.5 kB / 371.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001076/0.001076, allocations: 91.75 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.342e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3186, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.014/7.333, allocations: 2.09 GB / 3.07 GB, free: 151 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/7.333, allocations: 92.59 kB / 3.07 GB, free: 150.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.336/11.67, allocations: 1.001 GB / 4.071 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.535e-06/11.67, allocations: 2.781 kB / 4.071 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001765/11.67, allocations: 30.09 kB / 4.071 GB, free: 137.2 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.006883/11.68, allocations: 1.733 MB / 4.072 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/11.68, allocations: 11.34 kB / 4.072 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006385/11.68, allocations: 130 kB / 4.073 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004119/11.68, allocations: 0.5426 MB / 4.073 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/11.68, allocations: 1.051 MB / 4.074 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000674/11.69, allocations: 195.1 kB / 4.074 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/11.69, allocations: 92.69 kB / 4.074 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/11.69, allocations: 1.131 MB / 4.075 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/11.69, allocations: 0 / 4.075 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/11.69, allocations: 33.16 kB / 4.076 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.049e-05/11.69, allocations: 51.95 kB / 4.076 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/11.69, allocations: 1.177 MB / 4.077 GB, free: 136 MB / 0.9636 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.007135/11.7, allocations: 4.092 MB / 4.081 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/11.7, allocations: 0.7236 MB / 4.081 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/11.7, allocations: 0.4988 MB / 4.082 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008873/11.7, allocations: 0.6084 MB / 4.082 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/11.7, allocations: 45.09 kB / 4.083 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 3.066e-06/11.7, allocations: 3.391 kB / 4.083 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.001897/11.7, allocations: 0.9664 MB / 4.083 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/11.7, allocations: 60 kB / 4.084 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/11.7, allocations: 0.7005 MB / 4.084 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/11.7, allocations: 43.39 kB / 4.084 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/11.7, allocations: 445.2 kB / 4.085 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/11.7, allocations: 263.4 kB / 4.085 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/11.7, allocations: 15.25 kB / 4.085 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/11.7, allocations: 329.5 kB / 4.085 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005444/11.7, allocations: 384.4 kB / 4.086 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/11.71, allocations: 0.5157 MB / 4.086 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/11.71, allocations: 437.3 kB / 4.087 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/11.71, allocations: 0 / 4.087 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001661/11.71, allocations: 1.045 MB / 4.088 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/11.71, allocations: 486.6 kB / 4.088 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/11.71, allocations: 0 / 4.088 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/11.71, allocations: 9.734 kB / 4.088 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/11.71, allocations: 271.9 kB / 4.088 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005107/11.71, allocations: 1.192 MB / 4.089 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/11.71, allocations: 201.3 kB / 4.09 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/11.71, allocations: 39.16 kB / 4.09 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/11.71, allocations: 3.281 kB / 4.09 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001424/11.71, allocations: 0.942 MB / 4.091 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/11.71, allocations: 7 kB / 4.091 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/11.71, allocations: 3.406 kB / 4.091 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/11.71, allocations: 249 kB / 4.091 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/11.71, allocations: 7.531 kB / 4.091 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/11.72, allocations: 197.7 kB / 4.091 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/11.72, allocations: 36.05 kB / 4.091 GB, free: 130.8 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 () * 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.0002685/11.72, allocations: 151.5 kB / 4.091 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/11.72, allocations: 108.6 kB / 4.091 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/11.72, allocations: 1.052 MB / 4.092 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/11.72, allocations: 8.719 kB / 4.092 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/11.72, allocations: 0 / 4.092 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/11.72, allocations: 2.906 kB / 4.092 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/11.72, allocations: 2.511 MB / 4.095 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/11.72, allocations: 3.812 kB / 4.095 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/11.72, allocations: 259 kB / 4.095 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/11.72, allocations: 10.45 kB / 4.095 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/11.72, allocations: 24.38 kB / 4.095 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003991/11.72, allocations: 1.196 MB / 4.096 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/11.72, allocations: 3.25 kB / 4.096 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/11.73, allocations: 1.337 MB / 4.098 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/11.73, allocations: 310.5 kB / 4.098 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/11.73, allocations: 18.56 kB / 4.098 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/11.73, allocations: 163.6 kB / 4.098 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/11.73, allocations: 69.31 kB / 4.098 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/11.73, allocations: 34.08 kB / 4.098 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007515/11.73, allocations: 0.5494 MB / 4.099 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.11e-07/11.73, allocations: 0 / 4.099 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002595/11.73, allocations: 0.7603 MB / 4.099 GB, free: 128 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 () * 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.005982/11.74, allocations: 5.168 MB / 4.104 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00295/11.74, allocations: 1.578 MB / 4.106 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/11.74, allocations: 0 / 4.106 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/11.74, allocations: 0.5097 MB / 4.107 GB, free: 125 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/11.74, allocations: 0.4986 MB / 4.107 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/11.75, allocations: 1.79 MB / 4.109 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/11.75, allocations: 1.115 MB / 4.11 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002056/11.75, allocations: 475.3 kB / 4.11 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/11.75, allocations: 374.8 kB / 4.111 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.443e-06/11.75, allocations: 0 / 4.111 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/11.87, allocations: 69.53 MB / 4.179 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/11.87, allocations: 227.1 kB / 4.179 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.774/16.64, allocations: 0 / 4.179 GB, free: 113.1 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)