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.674/1.674, allocations: 285.4 MB / 298 MB, free: 5.977 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.00157/0.00157, allocations: 168.9 kB / 366.4 MB, free: 2.082 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.032/2.032, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008792/0.0008791, allocations: 98.98 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.055e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8548, allocations: 115.3 MB / 0.971 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.65/6.505, allocations: 2.089 GB / 3.06 GB, free: 49.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/6.505, allocations: 83.95 kB / 3.06 GB, free: 49.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.323/10.83, allocations: 1.001 GB / 4.061 GB, free: 129.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/10.83, allocations: 0 / 4.061 GB, free: 129.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.184e-05/10.83, allocations: 35.98 kB / 4.061 GB, free: 129.8 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.005215/10.83, allocations: 1.734 MB / 4.063 GB, free: 128 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/10.83, allocations: 8.031 kB / 4.063 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/10.83, allocations: 127.1 kB / 4.063 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/10.84, allocations: 0.5482 MB / 4.063 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/10.84, allocations: 1.046 MB / 4.064 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005806/10.84, allocations: 197.9 kB / 4.064 GB, free: 126 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/10.84, allocations: 91.98 kB / 4.065 GB, free: 126 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/10.84, allocations: 1.13 MB / 4.066 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/10.84, allocations: 0 / 4.066 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/10.84, allocations: 32 kB / 4.066 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/10.84, allocations: 53.94 kB / 4.066 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/10.84, allocations: 1.179 MB / 4.067 GB, free: 123.6 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.006232/10.85, allocations: 4.088 MB / 4.071 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/10.85, allocations: 0.7173 MB / 4.072 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/10.85, allocations: 0.4959 MB / 4.072 GB, free: 118 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/10.85, allocations: 0.6088 MB / 4.073 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/10.85, allocations: 43.33 kB / 4.073 GB, free: 117.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/10.85, allocations: 0 / 4.073 GB, free: 117.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001903/10.85, allocations: 0.9714 MB / 4.074 GB, free: 116.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/10.85, allocations: 60.19 kB / 4.074 GB, free: 116.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/10.86, allocations: 0.6977 MB / 4.074 GB, free: 115.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/10.86, allocations: 45.7 kB / 4.074 GB, free: 115.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/10.86, allocations: 448.5 kB / 4.075 GB, free: 114.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/10.86, allocations: 264.2 kB / 4.075 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/10.86, allocations: 16 kB / 4.075 GB, free: 114.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/10.86, allocations: 329.9 kB / 4.075 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/10.86, allocations: 389.4 kB / 4.076 GB, free: 113.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/10.86, allocations: 0.5149 MB / 4.076 GB, free: 113.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/10.86, allocations: 443.6 kB / 4.077 GB, free: 112.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/10.86, allocations: 0 / 4.077 GB, free: 112.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001733/10.86, allocations: 1.043 MB / 4.078 GB, free: 111.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/10.86, allocations: 481.9 kB / 4.078 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/10.86, allocations: 4 kB / 4.078 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/10.86, allocations: 8 kB / 4.078 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/10.86, allocations: 267.7 kB / 4.078 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00056/10.86, allocations: 1.188 MB / 4.08 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/10.86, allocations: 199.3 kB / 4.08 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/10.86, allocations: 43.98 kB / 4.08 GB, free: 109.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/10.86, allocations: 4 kB / 4.08 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/10.87, allocations: 0.941 MB / 4.081 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/10.87, allocations: 0 / 4.081 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/10.87, allocations: 4 kB / 4.081 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/10.87, allocations: 251.7 kB / 4.081 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/10.87, allocations: 11.98 kB / 4.081 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/10.87, allocations: 195.1 kB / 4.081 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/10.87, allocations: 43.91 kB / 4.081 GB, free: 108.2 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.0002705/10.87, allocations: 148.8 kB / 4.081 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/10.87, allocations: 102.8 kB / 4.082 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/10.87, allocations: 1.05 MB / 4.083 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/10.87, allocations: 8 kB / 4.083 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/10.87, allocations: 4 kB / 4.083 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/10.87, allocations: 3.984 kB / 4.083 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/10.87, allocations: 2.512 MB / 4.085 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/10.87, allocations: 8.031 kB / 4.085 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/10.88, allocations: 259.6 kB / 4.085 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/10.88, allocations: 8 kB / 4.085 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/10.88, allocations: 19.98 kB / 4.085 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004136/10.88, allocations: 1.192 MB / 4.086 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/10.88, allocations: 8.062 kB / 4.086 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/10.88, allocations: 1.331 MB / 4.088 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000738/10.88, allocations: 311.5 kB / 4.088 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/10.88, allocations: 16 kB / 4.088 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/10.88, allocations: 167.7 kB / 4.088 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/10.88, allocations: 68.38 kB / 4.088 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/10.88, allocations: 35.97 kB / 4.088 GB, free: 100.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008957/10.88, allocations: 0.5508 MB / 4.089 GB, free: 100.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.9e-07/10.88, allocations: 0 / 4.089 GB, free: 100.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002987/10.88, allocations: 0.753 MB / 4.09 GB, free: 99.3 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.00578/10.89, allocations: 5.178 MB / 4.095 GB, free: 93.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003019/10.89, allocations: 1.581 MB / 4.096 GB, free: 92.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/10.89, allocations: 0 / 4.096 GB, free: 92.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008728/10.89, allocations: 0.5116 MB / 4.097 GB, free: 91.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/10.9, allocations: 0.5 MB / 4.097 GB, free: 91.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/10.9, allocations: 1.778 MB / 4.099 GB, free: 89.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/10.9, allocations: 1.116 MB / 4.1 GB, free: 88.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002207/10.91, allocations: 463.2 kB / 4.1 GB, free: 87.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005961/10.91, allocations: 379.3 kB / 4.101 GB, free: 87.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/10.91, allocations: 0 / 4.101 GB, free: 87.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09844/11, allocations: 69.54 MB / 4.169 GB, free: 18.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/11, allocations: 242.3 kB / 4.169 GB, free: 17.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.457/15.46, allocations: 3.938 kB / 4.169 GB, free: 17.91 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)