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.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.914 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.001172/0.001172, allocations: 180.8 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.001026/0.001026, allocations: 90.47 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.007e-05, allocations: 0 / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2482, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.367/6.615, allocations: 2.208 GB / 3.093 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/6.615, allocations: 83.95 kB / 3.093 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.486/10.1, allocations: 0.9572 GB / 4.05 GB, free: 148 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.205e-06/10.1, allocations: 3.281 kB / 4.05 GB, free: 148 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001037/10.1, allocations: 28.67 kB / 4.05 GB, free: 148 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.005813/10.11, allocations: 1.732 MB / 4.052 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/10.11, allocations: 7.562 kB / 4.052 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/10.11, allocations: 0.5403 MB / 4.053 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/10.11, allocations: 1.057 MB / 4.054 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006147/10.11, allocations: 165.3 kB / 4.054 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/10.11, allocations: 55.39 kB / 4.054 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/10.12, allocations: 1.036 MB / 4.055 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/10.12, allocations: 1.019 MB / 4.056 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/10.12, allocations: 0 / 4.056 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/10.12, allocations: 0 / 4.056 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/10.12, allocations: 46.53 kB / 4.056 GB, free: 146.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.006647/10.12, allocations: 4.01 MB / 4.06 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/10.12, allocations: 0.7287 MB / 4.06 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/10.13, allocations: 0.4883 MB / 4.061 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009403/10.13, allocations: 0.608 MB / 4.062 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/10.13, allocations: 44.56 kB / 4.062 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.457e-06/10.13, allocations: 0 / 4.062 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002422/10.13, allocations: 1.133 MB / 4.063 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/10.13, allocations: 61.69 kB / 4.063 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/10.13, allocations: 0.5599 MB / 4.063 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/10.13, allocations: 29.33 kB / 4.063 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/10.13, allocations: 454.5 kB / 4.064 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/10.13, allocations: 255.5 kB / 4.064 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/10.13, allocations: 0 / 4.064 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/10.13, allocations: 329.6 kB / 4.064 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/10.13, allocations: 397 kB / 4.065 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/10.13, allocations: 0.5257 MB / 4.065 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/10.13, allocations: 0.5771 MB / 4.066 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/10.13, allocations: 0 / 4.066 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00196/10.13, allocations: 1.177 MB / 4.067 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/10.13, allocations: 485.7 kB / 4.067 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/10.13, allocations: 0 / 4.067 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/10.13, allocations: 7.266 kB / 4.067 GB, free: 143 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/10.14, allocations: 293.6 kB / 4.068 GB, free: 143 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005123/10.14, allocations: 1.2 MB / 4.069 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/10.14, allocations: 170.2 kB / 4.069 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/10.14, allocations: 44.48 kB / 4.069 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/10.14, allocations: 3.938 kB / 4.069 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001819/10.14, allocations: 1.061 MB / 4.07 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/10.14, allocations: 9.188 kB / 4.07 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/10.14, allocations: 5.031 kB / 4.07 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/10.14, allocations: 258.7 kB / 4.07 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/10.14, allocations: 3.281 kB / 4.07 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/10.14, allocations: 180.4 kB / 4.071 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/10.14, allocations: 36.42 kB / 4.071 GB, free: 141.8 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.0002506/10.14, allocations: 117.3 kB / 4.071 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001852/10.15, allocations: 1.083 MB / 4.072 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/10.15, allocations: 95.12 kB / 4.072 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/10.15, allocations: 1.196 MB / 4.073 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/10.15, allocations: 7.594 kB / 4.073 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/10.15, allocations: 0 / 4.073 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/10.15, allocations: 9.266 kB / 4.073 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/10.15, allocations: 2.578 MB / 4.076 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/10.15, allocations: 3.156 kB / 4.076 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/10.15, allocations: 262.4 kB / 4.076 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/10.15, allocations: 7.438 kB / 4.076 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/10.15, allocations: 13.55 kB / 4.076 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000509/10.15, allocations: 1.199 MB / 4.077 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/10.15, allocations: 8.969 kB / 4.077 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/10.16, allocations: 1.485 MB / 4.078 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/10.16, allocations: 309.7 kB / 4.079 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/10.16, allocations: 7.141 kB / 4.079 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/10.16, allocations: 155.7 kB / 4.079 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/10.16, allocations: 58.5 kB / 4.079 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/10.16, allocations: 40.91 kB / 4.079 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006096/10.16, allocations: 444.9 kB / 4.079 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/10.16, allocations: 0 / 4.079 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002236/10.16, allocations: 0.6856 MB / 4.08 GB, free: 139 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.006101/10.17, allocations: 5.572 MB / 4.086 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002806/10.17, allocations: 1.614 MB / 4.087 GB, free: 136 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/10.17, allocations: 5.922 kB / 4.087 GB, free: 136 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008016/10.17, allocations: 0.5152 MB / 4.088 GB, free: 136 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/10.17, allocations: 429.4 kB / 4.088 GB, free: 136 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/10.19, allocations: 2.519 MB / 4.09 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/10.19, allocations: 1.113 MB / 4.092 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002086/10.19, allocations: 454.1 kB / 4.092 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/10.19, allocations: 380 kB / 4.092 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.273e-06/10.19, allocations: 0 / 4.092 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09011/10.28, allocations: 43.52 MB / 4.135 GB, free: 131 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/10.28, allocations: 188.6 kB / 4.135 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/13.7, allocations: 0 / 4.135 GB, free: 130.8 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)