Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001231/0.001231, allocations: 184.8 kB / 361.4 MB, free: 6.664 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.813/1.813, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009857/0.0009856, allocations: 97.8 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.197e-05, allocations: 0 / 0.8518 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8311, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.594/6.425, allocations: 2.089 GB / 3.053 GB, free: 71.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/6.425, allocations: 83.95 kB / 3.053 GB, free: 71.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.356/10.78, allocations: 0.9895 GB / 4.043 GB, free: 157.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.296e-06/10.78, allocations: 0 / 4.043 GB, free: 157.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.572e-05/10.78, allocations: 31.69 kB / 4.043 GB, free: 157.3 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.006054/10.79, allocations: 1.732 MB / 4.044 GB, free: 156.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/10.79, allocations: 11.44 kB / 4.044 GB, free: 156.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/10.79, allocations: 0.5462 MB / 4.045 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/10.79, allocations: 1.046 MB / 4.046 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006226/10.8, allocations: 178.3 kB / 4.046 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/10.8, allocations: 49.69 kB / 4.046 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001996/10.8, allocations: 1.034 MB / 4.047 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/10.8, allocations: 1.017 MB / 4.048 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/10.8, allocations: 0 / 4.048 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/10.8, allocations: 0 / 4.048 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/10.8, allocations: 49.67 kB / 4.048 GB, free: 154.5 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.006564/10.81, allocations: 4.007 MB / 4.052 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/10.81, allocations: 0.7259 MB / 4.053 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/10.81, allocations: 0.4889 MB / 4.053 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009105/10.81, allocations: 0.6084 MB / 4.054 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/10.81, allocations: 49.41 kB / 4.054 GB, free: 150.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.879e-06/10.81, allocations: 0 / 4.054 GB, free: 150.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002356/10.81, allocations: 1.133 MB / 4.055 GB, free: 149.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/10.81, allocations: 59.06 kB / 4.055 GB, free: 149.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/10.81, allocations: 0.5602 MB / 4.056 GB, free: 149.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/10.81, allocations: 28.92 kB / 4.056 GB, free: 149.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/10.81, allocations: 457.9 kB / 4.056 GB, free: 148.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/10.81, allocations: 249.4 kB / 4.056 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/10.81, allocations: 10.66 kB / 4.056 GB, free: 148.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/10.81, allocations: 331.7 kB / 4.057 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/10.81, allocations: 395.9 kB / 4.057 GB, free: 148 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/10.81, allocations: 0.5218 MB / 4.057 GB, free: 147.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/10.81, allocations: 0.5851 MB / 4.058 GB, free: 147.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/10.81, allocations: 0 / 4.058 GB, free: 147.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002001/10.82, allocations: 1.174 MB / 4.059 GB, free: 146.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/10.82, allocations: 485.7 kB / 4.06 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/10.82, allocations: 3.875 kB / 4.06 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/10.82, allocations: 5.125 kB / 4.06 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/10.82, allocations: 277 kB / 4.06 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005819/10.82, allocations: 1.206 MB / 4.061 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/10.82, allocations: 170.5 kB / 4.061 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/10.82, allocations: 43.31 kB / 4.061 GB, free: 144.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/10.82, allocations: 3.969 kB / 4.061 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/10.82, allocations: 1.059 MB / 4.062 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/10.82, allocations: 0 / 4.062 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/10.82, allocations: 7.25 kB / 4.062 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/10.82, allocations: 260.9 kB / 4.063 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/10.82, allocations: 3.906 kB / 4.063 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/10.82, allocations: 172.5 kB / 4.063 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/10.83, allocations: 42.34 kB / 4.063 GB, free: 144.3 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.000254/10.83, allocations: 119.5 kB / 4.063 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001875/10.83, allocations: 1.084 MB / 4.064 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/10.83, allocations: 93.53 kB / 4.064 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/10.83, allocations: 1.2 MB / 4.065 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/10.83, allocations: 6.281 kB / 4.065 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/10.83, allocations: 3.938 kB / 4.065 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/10.83, allocations: 3.984 kB / 4.065 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/10.83, allocations: 2.58 MB / 4.068 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/10.83, allocations: 3.375 kB / 4.068 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/10.84, allocations: 258 kB / 4.068 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/10.84, allocations: 4.938 kB / 4.068 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/10.84, allocations: 22.69 kB / 4.068 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004686/10.84, allocations: 1.196 MB / 4.069 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/10.84, allocations: 11.09 kB / 4.069 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/10.84, allocations: 1.484 MB / 4.071 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000588/10.84, allocations: 310.2 kB / 4.071 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/10.84, allocations: 7.953 kB / 4.071 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/10.84, allocations: 150.3 kB / 4.071 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/10.84, allocations: 56.48 kB / 4.071 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/10.84, allocations: 43.92 kB / 4.071 GB, free: 138.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000729/10.84, allocations: 447.1 kB / 4.072 GB, free: 137.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/10.84, allocations: 0 / 4.072 GB, free: 137.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002989/10.84, allocations: 0.6782 MB / 4.072 GB, free: 137.1 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.0072/10.85, allocations: 5.579 MB / 4.078 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003078/10.85, allocations: 1.617 MB / 4.079 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/10.85, allocations: 0 / 4.079 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008635/10.86, allocations: 0.5199 MB / 4.08 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/10.86, allocations: 427 kB / 4.08 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/10.87, allocations: 2.534 MB / 4.083 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/10.88, allocations: 1.115 MB / 4.084 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002955/10.88, allocations: 445 kB / 4.084 GB, free: 125.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008218/10.88, allocations: 383.2 kB / 4.085 GB, free: 124.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.164e-06/10.88, allocations: 4 kB / 4.085 GB, free: 124.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08526/10.96, allocations: 43.52 MB / 4.127 GB, free: 81.79 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/10.96, allocations: 188.7 kB / 4.127 GB, free: 81.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/14.71, allocations: 0 / 4.127 GB, free: 81.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)