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.7/1.7, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001894/0.001894, allocations: 172.8 kB / 366.7 MB, free: 1.629 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.016/2.016, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.0009256/0.0009256, allocations: 88.02 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.097e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8149, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.66/7.475, allocations: 2.089 GB / 3.063 GB, free: 282.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/7.475, allocations: 84.31 kB / 3.063 GB, free: 282.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.363/10.84, allocations: 0.9895 GB / 4.052 GB, free: 68.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/10.84, allocations: 0 / 4.052 GB, free: 68.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001074/10.84, allocations: 27.98 kB / 4.052 GB, free: 68.73 MB / 0.948 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.00709/10.85, allocations: 1.737 MB / 4.054 GB, free: 66.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/10.85, allocations: 16.02 kB / 4.054 GB, free: 66.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/10.85, allocations: 0.5408 MB / 4.055 GB, free: 66.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/10.85, allocations: 1.05 MB / 4.056 GB, free: 65.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005657/10.85, allocations: 165.9 kB / 4.056 GB, free: 65.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/10.85, allocations: 52 kB / 4.056 GB, free: 65.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00161/10.85, allocations: 1.031 MB / 4.057 GB, free: 64.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/10.86, allocations: 1.021 MB / 4.058 GB, free: 63.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/10.86, allocations: 0 / 4.058 GB, free: 63.01 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/10.86, allocations: 0 / 4.058 GB, free: 63.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/10.86, allocations: 45.98 kB / 4.058 GB, free: 62.96 MB / 0.948 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.006067/10.86, allocations: 4.014 MB / 4.062 GB, free: 58.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/10.86, allocations: 0.7234 MB / 4.063 GB, free: 57.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/10.86, allocations: 497.6 kB / 4.063 GB, free: 57.46 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008781/10.87, allocations: 0.6127 MB / 4.064 GB, free: 56.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/10.87, allocations: 43.34 kB / 4.064 GB, free: 56.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.699e-06/10.87, allocations: 0 / 4.064 GB, free: 56.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002354/10.87, allocations: 1.139 MB / 4.065 GB, free: 55.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/10.87, allocations: 60.19 kB / 4.065 GB, free: 55.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/10.87, allocations: 0.5591 MB / 4.065 GB, free: 54.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.336e-05/10.87, allocations: 29.7 kB / 4.065 GB, free: 54.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/10.87, allocations: 452.3 kB / 4.066 GB, free: 54.42 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/10.87, allocations: 248.3 kB / 4.066 GB, free: 54.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/10.87, allocations: 8 kB / 4.066 GB, free: 54.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/10.87, allocations: 330 kB / 4.066 GB, free: 53.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/10.87, allocations: 393.4 kB / 4.067 GB, free: 53.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/10.87, allocations: 0.527 MB / 4.067 GB, free: 52.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/10.87, allocations: 0.5744 MB / 4.068 GB, free: 52.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/10.87, allocations: 0 / 4.068 GB, free: 52.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001924/10.87, allocations: 1.174 MB / 4.069 GB, free: 51.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/10.87, allocations: 485.9 kB / 4.069 GB, free: 50.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/10.87, allocations: 4 kB / 4.07 GB, free: 50.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/10.87, allocations: 4 kB / 4.07 GB, free: 50.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/10.87, allocations: 279.6 kB / 4.07 GB, free: 50.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005404/10.88, allocations: 1.207 MB / 4.071 GB, free: 49.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/10.88, allocations: 183.4 kB / 4.071 GB, free: 48.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/10.88, allocations: 43.97 kB / 4.071 GB, free: 48.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/10.88, allocations: 4 kB / 4.071 GB, free: 48.85 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001732/10.88, allocations: 1.064 MB / 4.072 GB, free: 47.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/10.88, allocations: 0 / 4.072 GB, free: 47.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/10.88, allocations: 4 kB / 4.072 GB, free: 47.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/10.88, allocations: 263.7 kB / 4.072 GB, free: 47.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/10.88, allocations: 4 kB / 4.072 GB, free: 47.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/10.88, allocations: 167.4 kB / 4.073 GB, free: 47.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/10.88, allocations: 39.97 kB / 4.073 GB, free: 47.31 MB / 0.948 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.0002781/10.88, allocations: 124.8 kB / 4.073 GB, free: 47.18 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001767/10.88, allocations: 1.077 MB / 4.074 GB, free: 46.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/10.88, allocations: 98.73 kB / 4.074 GB, free: 46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/10.89, allocations: 1.197 MB / 4.075 GB, free: 44.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/10.89, allocations: 8 kB / 4.075 GB, free: 44.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/10.89, allocations: 0 / 4.075 GB, free: 44.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/10.89, allocations: 3.984 kB / 4.075 GB, free: 44.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/10.89, allocations: 2.586 MB / 4.078 GB, free: 42.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/10.89, allocations: 8.031 kB / 4.078 GB, free: 42.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/10.89, allocations: 255.6 kB / 4.078 GB, free: 41.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/10.89, allocations: 4 kB / 4.078 GB, free: 41.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/10.89, allocations: 19.97 kB / 4.078 GB, free: 41.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004884/10.89, allocations: 1.196 MB / 4.079 GB, free: 40.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/10.89, allocations: 4 kB / 4.079 GB, free: 40.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/10.89, allocations: 1.496 MB / 4.081 GB, free: 38.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/10.89, allocations: 299.7 kB / 4.081 GB, free: 38.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/10.89, allocations: 4 kB / 4.081 GB, free: 38.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/10.9, allocations: 159.7 kB / 4.081 GB, free: 38.45 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/10.9, allocations: 60.44 kB / 4.081 GB, free: 38.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/10.9, allocations: 39.97 kB / 4.081 GB, free: 38.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005687/10.9, allocations: 447.1 kB / 4.082 GB, free: 37.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.002e-06/10.9, allocations: 0 / 4.082 GB, free: 37.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002117/10.9, allocations: 0.6783 MB / 4.082 GB, free: 37.25 MB / 0.948 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.005781/10.9, allocations: 5.574 MB / 4.088 GB, free: 31.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002817/10.91, allocations: 1.611 MB / 4.089 GB, free: 29.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/10.91, allocations: 0 / 4.089 GB, free: 29.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007699/10.91, allocations: 0.5173 MB / 4.09 GB, free: 29.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/10.91, allocations: 437.3 kB / 4.09 GB, free: 28.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/10.92, allocations: 2.546 MB / 4.093 GB, free: 26.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/10.92, allocations: 1.115 MB / 4.094 GB, free: 25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001963/10.93, allocations: 454.5 kB / 4.094 GB, free: 24.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/10.93, allocations: 375.3 kB / 4.094 GB, free: 24.18 MB / 0.948 GB Notification: Performance of SimCode: time 2.265e-06/10.93, allocations: 0 / 4.094 GB, free: 24.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7723/11.7, allocations: 43.5 MB / 4.137 GB, free: 159.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/11.7, allocations: 174.8 kB / 4.137 GB, free: 159.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/15.49, allocations: 1.531 kB / 4.137 GB, free: 159.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)