Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.732/1.732, allocations: 249.3 MB / 261.8 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 168.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.2 MB / 0.572 GB, free: 10.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 100.4 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.611e-05/4.633e-05, allocations: 0 / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2667, allocations: 106.3 MB / 0.8919 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.746/7.012, allocations: 2.207 GB / 3.099 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/7.013, allocations: 84.75 kB / 3.099 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.062/11.07, allocations: 0.9682 GB / 4.068 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.472e-06/11.07, allocations: 7.281 kB / 4.068 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001628/11.07, allocations: 25.33 kB / 4.068 GB, free: 143.1 MB / 0.8855 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.006391/11.08, allocations: 1.734 MB / 4.069 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/11.08, allocations: 14.41 kB / 4.069 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004211/11.08, allocations: 131.7 kB / 4.07 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/11.09, allocations: 0.541 MB / 4.07 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/11.09, allocations: 1.054 MB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006228/11.09, allocations: 200.1 kB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/11.09, allocations: 89.14 kB / 4.071 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/11.09, allocations: 1.128 MB / 4.072 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/11.09, allocations: 7.375 kB / 4.072 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/11.09, allocations: 32.25 kB / 4.073 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/11.09, allocations: 47.14 kB / 4.073 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/11.09, allocations: 1.174 MB / 4.074 GB, free: 141.8 MB / 0.8855 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.00641/11.1, allocations: 4.085 MB / 4.078 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/11.1, allocations: 0.7282 MB / 4.078 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/11.1, allocations: 0.503 MB / 4.079 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008621/11.1, allocations: 0.6042 MB / 4.079 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/11.1, allocations: 45.75 kB / 4.08 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/11.1, allocations: 0 / 4.08 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.001809/11.1, allocations: 0.9678 MB / 4.08 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/11.1, allocations: 62.81 kB / 4.081 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/11.1, allocations: 0.696 MB / 4.081 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/11.11, allocations: 43.67 kB / 4.081 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/11.11, allocations: 442.8 kB / 4.082 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/11.11, allocations: 264.2 kB / 4.082 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/11.11, allocations: 17.44 kB / 4.082 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.334e-05/11.11, allocations: 330.9 kB / 4.082 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/11.11, allocations: 378.6 kB / 4.083 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/11.11, allocations: 0.5201 MB / 4.083 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/11.11, allocations: 446.9 kB / 4.084 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/11.11, allocations: 0 / 4.084 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001703/11.11, allocations: 1.04 MB / 4.085 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/11.11, allocations: 494.5 kB / 4.085 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/11.11, allocations: 0 / 4.085 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/11.11, allocations: 3.656 kB / 4.085 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/11.11, allocations: 267.6 kB / 4.085 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005955/11.11, allocations: 1.201 MB / 4.086 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/11.11, allocations: 191 kB / 4.087 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/11.11, allocations: 38.95 kB / 4.087 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/11.11, allocations: 3.844 kB / 4.087 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/11.11, allocations: 0.9363 MB / 4.088 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/11.11, allocations: 6.312 kB / 4.088 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/11.11, allocations: 3.344 kB / 4.088 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/11.12, allocations: 252.7 kB / 4.088 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/11.12, allocations: 3.406 kB / 4.088 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/11.12, allocations: 194.2 kB / 4.088 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/11.12, allocations: 43.08 kB / 4.088 GB, free: 136.4 MB / 0.8855 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.0003321/11.12, allocations: 149.6 kB / 4.088 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/11.12, allocations: 107.6 kB / 4.088 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/11.12, allocations: 1.051 MB / 4.089 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/11.12, allocations: 7.156 kB / 4.089 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/11.12, allocations: 0 / 4.089 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/11.12, allocations: 7.797 kB / 4.089 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/11.13, allocations: 2.51 MB / 4.092 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/11.13, allocations: 3.594 kB / 4.092 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/11.13, allocations: 257 kB / 4.092 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.056e-05/11.13, allocations: 6.219 kB / 4.092 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/11.13, allocations: 26.3 kB / 4.092 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005405/11.13, allocations: 1.197 MB / 4.093 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/11.13, allocations: 13.64 kB / 4.093 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/11.13, allocations: 1.33 MB / 4.095 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/11.13, allocations: 309.2 kB / 4.095 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/11.13, allocations: 20.86 kB / 4.095 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/11.13, allocations: 166.1 kB / 4.095 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/11.13, allocations: 63.88 kB / 4.095 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/11.13, allocations: 36.77 kB / 4.095 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008011/11.13, allocations: 0.5543 MB / 4.096 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/11.13, allocations: 0 / 4.096 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002629/11.14, allocations: 0.7482 MB / 4.096 GB, free: 133.3 MB / 0.8855 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.005477/11.14, allocations: 5.173 MB / 4.101 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002751/11.14, allocations: 1.579 MB / 4.103 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/11.14, allocations: 7.031 kB / 4.103 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008107/11.14, allocations: 0.5063 MB / 4.104 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/11.15, allocations: 0.505 MB / 4.104 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/11.15, allocations: 1.764 MB / 4.106 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/11.15, allocations: 1.114 MB / 4.107 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002133/11.15, allocations: 469.7 kB / 4.107 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/11.16, allocations: 375.5 kB / 4.108 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.173e-06/11.16, allocations: 0 / 4.108 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/11.26, allocations: 69.54 MB / 4.176 GB, free: 69.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/11.26, allocations: 234.3 kB / 4.176 GB, free: 69.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.509/15.77, allocations: 0 / 4.176 GB, free: 69.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)