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.741/1.741, allocations: 288.2 MB / 303.2 MB, free: 8.109 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.001149/0.001149, allocations: 194 kB / 371.8 MB, free: 10.25 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.961/1.961, allocations: 205.4 MB / 0.6305 GB, free: 9.898 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.0009189/0.0009191, allocations: 90.88 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004708, allocations: 10.34 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3207, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.232/6.553, allocations: 2.089 GB / 3.069 GB, free: 227.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/6.553, allocations: 87.95 kB / 3.069 GB, free: 227.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.19/10.74, allocations: 1.001 GB / 4.07 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.773e-06/10.74, allocations: 0.9688 kB / 4.07 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001311/10.74, allocations: 35.3 kB / 4.07 GB, free: 160.9 MB / 0.9636 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.008169/10.75, allocations: 1.912 MB / 4.072 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/10.75, allocations: 6.562 kB / 4.072 GB, free: 160.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004812/10.75, allocations: 133.6 kB / 4.072 GB, free: 160.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/10.76, allocations: 0.5505 MB / 4.073 GB, free: 160.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/10.76, allocations: 1.052 MB / 4.074 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006216/10.76, allocations: 197.4 kB / 4.074 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/10.76, allocations: 87.06 kB / 4.074 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/10.76, allocations: 1.333 MB / 4.075 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/10.76, allocations: 3.609 kB / 4.075 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/10.76, allocations: 40.09 kB / 4.076 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/10.76, allocations: 46.05 kB / 4.076 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00354/10.77, allocations: 1.568 MB / 4.077 GB, free: 159.8 MB / 0.9636 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.008391/10.77, allocations: 4.081 MB / 4.081 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/10.78, allocations: 1.044 MB / 4.082 GB, free: 158.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/10.78, allocations: 0.6057 MB / 4.083 GB, free: 157.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/10.78, allocations: 45.72 kB / 4.083 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 3.817e-06/10.78, allocations: 0 / 4.083 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.005928/10.78, allocations: 1.892 MB / 4.085 GB, free: 157.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/10.78, allocations: 62.19 kB / 4.085 GB, free: 157.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/10.79, allocations: 0.7085 MB / 4.085 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/10.79, allocations: 40.73 kB / 4.085 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/10.79, allocations: 448.9 kB / 4.086 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/10.79, allocations: 259 kB / 4.086 GB, free: 157 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/10.79, allocations: 16.12 kB / 4.086 GB, free: 157 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001637/10.79, allocations: 335.2 kB / 4.086 GB, free: 156.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/10.79, allocations: 0.5661 MB / 4.087 GB, free: 156.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/10.79, allocations: 0.7112 MB / 4.088 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/10.79, allocations: 0.6159 MB / 4.088 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/10.79, allocations: 0 / 4.088 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003728/10.8, allocations: 1.412 MB / 4.09 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002259/10.8, allocations: 493.2 kB / 4.09 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/10.8, allocations: 0 / 4.09 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/10.8, allocations: 6 kB / 4.09 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/10.8, allocations: 271.9 kB / 4.09 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006922/10.8, allocations: 1.188 MB / 4.092 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/10.8, allocations: 206.5 kB / 4.092 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/10.8, allocations: 37.14 kB / 4.092 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/10.8, allocations: 6.312 kB / 4.092 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003244/10.8, allocations: 1.319 MB / 4.093 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/10.8, allocations: 0 / 4.093 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/10.8, allocations: 3.688 kB / 4.093 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/10.81, allocations: 256.4 kB / 4.093 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/10.81, allocations: 3.875 kB / 4.093 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/10.81, allocations: 197.4 kB / 4.093 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/10.81, allocations: 36.09 kB / 4.094 GB, free: 154.7 MB / 0.9636 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.0008982/10.81, allocations: 381.2 kB / 4.094 GB, free: 154.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/10.81, allocations: 103.2 kB / 4.094 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/10.81, allocations: 1.429 MB / 4.095 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/10.81, allocations: 7.531 kB / 4.095 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/10.81, allocations: 0 / 4.095 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/10.81, allocations: 7.281 kB / 4.095 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/10.82, allocations: 2.883 MB / 4.098 GB, free: 153.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/10.82, allocations: 5.125 kB / 4.098 GB, free: 153.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/10.82, allocations: 256.5 kB / 4.098 GB, free: 153.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/10.82, allocations: 7.812 kB / 4.098 GB, free: 153.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/10.82, allocations: 25.09 kB / 4.098 GB, free: 153.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006034/10.82, allocations: 1.193 MB / 4.1 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/10.82, allocations: 10.66 kB / 4.1 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/10.83, allocations: 1.701 MB / 4.101 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/10.83, allocations: 312.5 kB / 4.102 GB, free: 152 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/10.83, allocations: 20.77 kB / 4.102 GB, free: 152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/10.83, allocations: 171.1 kB / 4.102 GB, free: 152 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/10.83, allocations: 56.38 kB / 4.102 GB, free: 152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/10.83, allocations: 43.52 kB / 4.102 GB, free: 152 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001092/10.83, allocations: 0.5606 MB / 4.102 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/10.83, allocations: 0 / 4.102 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003644/10.83, allocations: 0.7559 MB / 4.103 GB, free: 151.9 MB / 0.9636 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.008676/10.84, allocations: 5.539 MB / 4.109 GB, free: 149 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006136/10.85, allocations: 2.114 MB / 4.111 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/10.85, allocations: 0 / 4.111 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/10.85, allocations: 0.6861 MB / 4.111 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/10.85, allocations: 0.5048 MB / 4.112 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/10.86, allocations: 3.603 MB / 4.115 GB, free: 146.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/10.86, allocations: 1.114 MB / 4.116 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002127/10.86, allocations: 395.7 kB / 4.117 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/10.87, allocations: 394.2 kB / 4.117 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.513e-06/10.87, allocations: 0 / 4.117 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/10.98, allocations: 61.89 MB / 4.178 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/10.98, allocations: 264.8 kB / 4.178 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.243/15.23, allocations: 0 / 4.178 GB, free: 143.7 MB / 0.9636 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)