Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.602/2.602, allocations: 287.3 MB / 302.3 MB, free: 8.406 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.00151/0.00151, allocations: 186.9 kB / 370.8 MB, free: 10.84 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.122/2.122, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 100.3 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005153, allocations: 11.75 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.25, allocations: 115.2 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.954/7.204, allocations: 2.089 GB / 3.067 GB, free: 166 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/7.205, allocations: 91.25 kB / 3.067 GB, free: 166 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.472/12.68, allocations: 1.001 GB / 4.069 GB, free: 158.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.895e-06/12.68, allocations: 0 / 4.069 GB, free: 158.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001837/12.68, allocations: 27.59 kB / 4.069 GB, free: 158.2 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.01047/12.69, allocations: 1.902 MB / 4.071 GB, free: 157.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/12.69, allocations: 13.16 kB / 4.071 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005665/12.69, allocations: 138 kB / 4.071 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005613/12.69, allocations: 0.5475 MB / 4.072 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/12.7, allocations: 1.051 MB / 4.073 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/12.7, allocations: 203.6 kB / 4.073 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004946/12.7, allocations: 85.73 kB / 4.073 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005159/12.71, allocations: 1.338 MB / 4.074 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/12.71, allocations: 0 / 4.074 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/12.71, allocations: 32.56 kB / 4.074 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.672e-05/12.71, allocations: 48.95 kB / 4.074 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006967/12.71, allocations: 1.565 MB / 4.076 GB, free: 156.8 MB / 0.948 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.01167/12.72, allocations: 4.088 MB / 4.08 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/12.73, allocations: 1.042 MB / 4.081 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/12.73, allocations: 0.6161 MB / 4.081 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/12.73, allocations: 39 kB / 4.081 GB, free: 154.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.178e-06/12.73, allocations: 0 / 4.081 GB, free: 154.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.009397/12.74, allocations: 1.894 MB / 4.083 GB, free: 154.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/12.74, allocations: 59.88 kB / 4.083 GB, free: 154.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/12.74, allocations: 0.7059 MB / 4.084 GB, free: 154.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003251/12.74, allocations: 47.7 kB / 4.084 GB, free: 154.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/12.74, allocations: 447.2 kB / 4.084 GB, free: 154.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/12.74, allocations: 262.9 kB / 4.085 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/12.74, allocations: 15.31 kB / 4.085 GB, free: 154.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/12.74, allocations: 331 kB / 4.085 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/12.75, allocations: 0.5576 MB / 4.086 GB, free: 153.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/12.75, allocations: 0.7127 MB / 4.086 GB, free: 153.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/12.75, allocations: 0.6144 MB / 4.087 GB, free: 153.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/12.75, allocations: 0 / 4.087 GB, free: 153.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0062/12.76, allocations: 1.421 MB / 4.088 GB, free: 153.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000183/12.76, allocations: 485.1 kB / 4.089 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/12.76, allocations: 7.031 kB / 4.089 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/12.76, allocations: 7.391 kB / 4.089 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/12.76, allocations: 263.4 kB / 4.089 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008086/12.76, allocations: 1.189 MB / 4.09 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/12.76, allocations: 195.5 kB / 4.09 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/12.76, allocations: 42.83 kB / 4.09 GB, free: 151.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/12.76, allocations: 3.125 kB / 4.09 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005819/12.77, allocations: 1.315 MB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/12.77, allocations: 5.312 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/12.77, allocations: 3.5 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/12.77, allocations: 252.2 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/12.77, allocations: 10.59 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/12.78, allocations: 198.2 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/12.78, allocations: 41.42 kB / 4.092 GB, free: 151.7 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 () * 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.0009604/12.78, allocations: 369.9 kB / 4.092 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/12.78, allocations: 109.7 kB / 4.093 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/12.78, allocations: 1.425 MB / 4.094 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/12.78, allocations: 7.719 kB / 4.094 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/12.78, allocations: 0 / 4.094 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/12.78, allocations: 3.844 kB / 4.094 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/12.79, allocations: 2.889 MB / 4.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/12.79, allocations: 1.156 kB / 4.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/12.8, allocations: 260.4 kB / 4.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-05/12.8, allocations: 9.594 kB / 4.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/12.8, allocations: 22.62 kB / 4.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006136/12.8, allocations: 1.203 MB / 4.098 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/12.8, allocations: 3.906 kB / 4.098 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006194/12.8, allocations: 1.705 MB / 4.1 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/12.8, allocations: 308.3 kB / 4.1 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/12.8, allocations: 22.06 kB / 4.1 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/12.81, allocations: 167.7 kB / 4.1 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/12.81, allocations: 60.94 kB / 4.1 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/12.81, allocations: 34.98 kB / 4.101 GB, free: 149 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001185/12.81, allocations: 0.5585 MB / 4.101 GB, free: 148.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.994e-06/12.81, allocations: 0 / 4.101 GB, free: 148.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00355/12.81, allocations: 0.7574 MB / 4.102 GB, free: 148.9 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 () * 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.01108/12.82, allocations: 5.545 MB / 4.107 GB, free: 146 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009696/12.83, allocations: 2.114 MB / 4.109 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/12.83, allocations: 0 / 4.109 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003245/12.84, allocations: 0.6918 MB / 4.11 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/12.84, allocations: 0.5056 MB / 4.11 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00945/12.85, allocations: 3.607 MB / 4.114 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/12.85, allocations: 1.119 MB / 4.115 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003084/12.85, allocations: 390.1 kB / 4.115 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/12.86, allocations: 387.5 kB / 4.116 GB, free: 143.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/12.86, allocations: 0 / 4.116 GB, free: 143.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/13, allocations: 61.86 MB / 4.176 GB, free: 117.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/13, allocations: 256.4 kB / 4.176 GB, free: 117.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.706/18.7, allocations: 0 / 4.176 GB, free: 117.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)