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.501/2.501, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001462/0.001462, allocations: 172.9 kB / 360.6 MB, free: 7.289 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.102/2.102, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001092/0.001091, allocations: 94.17 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.254e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8632/0.8633, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.264/7.128, allocations: 2.088 GB / 3.052 GB, free: 30.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/7.128, allocations: 83.02 kB / 3.052 GB, free: 29.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.438/12.57, allocations: 0.9895 GB / 4.041 GB, free: 136.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.864e-06/12.57, allocations: 6.719 kB / 4.041 GB, free: 136.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001437/12.57, allocations: 34.97 kB / 4.041 GB, free: 136.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.00852/12.57, allocations: 1.731 MB / 4.043 GB, free: 134.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/12.57, allocations: 8.031 kB / 4.043 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/12.58, allocations: 0.5507 MB / 4.044 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/12.58, allocations: 1.039 MB / 4.045 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/12.59, allocations: 167.2 kB / 4.045 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/12.59, allocations: 55.94 kB / 4.045 GB, free: 132.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002695/12.59, allocations: 1.031 MB / 4.046 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/12.59, allocations: 1.017 MB / 4.047 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/12.59, allocations: 0 / 4.047 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/12.59, allocations: 7.391 kB / 4.047 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-05/12.59, allocations: 45.98 kB / 4.047 GB, free: 130.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.01072/12.6, allocations: 4.002 MB / 4.051 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/12.6, allocations: 0.7307 MB / 4.052 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009862/12.6, allocations: 499.6 kB / 4.052 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/12.61, allocations: 0.6082 MB / 4.053 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/12.61, allocations: 41.38 kB / 4.053 GB, free: 124.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.338e-06/12.61, allocations: 0 / 4.053 GB, free: 124.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.004063/12.61, allocations: 1.134 MB / 4.054 GB, free: 123.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/12.61, allocations: 60.19 kB / 4.054 GB, free: 123.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/12.61, allocations: 0.5708 MB / 4.054 GB, free: 122.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/12.61, allocations: 25.7 kB / 4.054 GB, free: 122.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/12.61, allocations: 460.2 kB / 4.055 GB, free: 122.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/12.61, allocations: 248.2 kB / 4.055 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/12.61, allocations: 0 / 4.055 GB, free: 121.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/12.61, allocations: 334 kB / 4.055 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009021/12.61, allocations: 393.4 kB / 4.056 GB, free: 121.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/12.61, allocations: 0.5232 MB / 4.056 GB, free: 120.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/12.62, allocations: 0.5821 MB / 4.057 GB, free: 120.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/12.62, allocations: 0 / 4.057 GB, free: 120.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003614/12.62, allocations: 1.178 MB / 4.058 GB, free: 118.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/12.62, allocations: 483.1 kB / 4.058 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/12.62, allocations: 3.984 kB / 4.058 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/12.62, allocations: 4 kB / 4.058 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/12.62, allocations: 279.6 kB / 4.059 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007764/12.62, allocations: 1.203 MB / 4.06 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/12.63, allocations: 175.3 kB / 4.06 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/12.63, allocations: 39.97 kB / 4.06 GB, free: 116.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/12.63, allocations: 4 kB / 4.06 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003266/12.63, allocations: 1.064 MB / 4.061 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/12.63, allocations: 0 / 4.061 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/12.63, allocations: 12.09 kB / 4.061 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/12.63, allocations: 263.7 kB / 4.061 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/12.63, allocations: 4 kB / 4.061 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/12.64, allocations: 167.3 kB / 4.062 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/12.64, allocations: 46.55 kB / 4.062 GB, free: 115.1 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.0003601/12.64, allocations: 116.6 kB / 4.062 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003215/12.64, allocations: 1.085 MB / 4.063 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/12.64, allocations: 94.88 kB / 4.063 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/12.64, allocations: 1.201 MB / 4.064 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/12.64, allocations: 11.95 kB / 4.064 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/12.64, allocations: 0 / 4.064 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/12.64, allocations: 3.984 kB / 4.064 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006738/12.65, allocations: 2.572 MB / 4.067 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/12.65, allocations: 4 kB / 4.067 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/12.65, allocations: 262.5 kB / 4.067 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/12.65, allocations: 8 kB / 4.067 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/12.65, allocations: 15.98 kB / 4.067 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005787/12.65, allocations: 1.195 MB / 4.068 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/12.65, allocations: 7.953 kB / 4.068 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/12.66, allocations: 1.488 MB / 4.069 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008453/12.66, allocations: 311.6 kB / 4.07 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/12.66, allocations: 7.984 kB / 4.07 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/12.66, allocations: 155.7 kB / 4.07 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/12.66, allocations: 64.38 kB / 4.07 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/12.66, allocations: 35.97 kB / 4.07 GB, free: 106.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008715/12.66, allocations: 443.1 kB / 4.07 GB, free: 105.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.11e-07/12.66, allocations: 0 / 4.07 GB, free: 105.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003536/12.67, allocations: 0.6822 MB / 4.071 GB, free: 105 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.008994/12.67, allocations: 5.576 MB / 4.077 GB, free: 99.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004495/12.68, allocations: 1.615 MB / 4.078 GB, free: 97.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/12.68, allocations: 4 kB / 4.078 GB, free: 97.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/12.68, allocations: 0.5106 MB / 4.079 GB, free: 97.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/12.68, allocations: 426.8 kB / 4.079 GB, free: 96.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/12.71, allocations: 2.541 MB / 4.082 GB, free: 94.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/12.71, allocations: 1.119 MB / 4.083 GB, free: 93.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003488/12.72, allocations: 446.2 kB / 4.083 GB, free: 92.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009419/12.72, allocations: 375.3 kB / 4.083 GB, free: 92.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/12.72, allocations: 0 / 4.083 GB, free: 92.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/12.84, allocations: 43.51 MB / 4.126 GB, free: 49.19 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/12.84, allocations: 180.8 kB / 4.126 GB, free: 49 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.775/17.62, allocations: 7.938 kB / 4.126 GB, free: 48.99 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)