Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.547/2.547, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001565/0.001565, allocations: 178.8 kB / 370.8 MB, free: 10.86 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.139/2.139, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001201/0.0012, allocations: 90.8 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006792/0.0006794, allocations: 11.91 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2511, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.993/7.244, allocations: 2.089 GB / 3.068 GB, free: 165.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/7.244, allocations: 92.58 kB / 3.068 GB, free: 165.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.793/13.04, allocations: 1.002 GB / 4.07 GB, free: 158.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.445e-06/13.04, allocations: 0 / 4.07 GB, free: 158.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00018/13.04, allocations: 33.67 kB / 4.07 GB, free: 158.1 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.01042/13.05, allocations: 1.906 MB / 4.071 GB, free: 157.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/13.05, allocations: 9.375 kB / 4.071 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006199/13.05, allocations: 134.2 kB / 4.072 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00568/13.05, allocations: 0.5441 MB / 4.072 GB, free: 157.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/13.06, allocations: 1.051 MB / 4.073 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001245/13.06, allocations: 204.8 kB / 4.073 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005038/13.06, allocations: 83.47 kB / 4.073 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005466/13.07, allocations: 1.334 MB / 4.075 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/13.07, allocations: 0 / 4.075 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/13.07, allocations: 34.53 kB / 4.075 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.739e-05/13.07, allocations: 49.88 kB / 4.075 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007075/13.07, allocations: 1.572 MB / 4.076 GB, free: 156.8 MB / 0.948 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.01171/13.08, allocations: 4.088 MB / 4.08 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/13.09, allocations: 1.033 MB / 4.081 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/13.09, allocations: 0.6106 MB / 4.082 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/13.09, allocations: 48.22 kB / 4.082 GB, free: 154.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.919e-06/13.09, allocations: 2.344 kB / 4.082 GB, free: 154.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.00941/13.1, allocations: 1.89 MB / 4.084 GB, free: 154.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/13.1, allocations: 62.94 kB / 4.084 GB, free: 154.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/13.1, allocations: 0.7068 MB / 4.085 GB, free: 154.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003046/13.1, allocations: 42.58 kB / 4.085 GB, free: 154.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/13.1, allocations: 449.5 kB / 4.085 GB, free: 154.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/13.1, allocations: 257.6 kB / 4.085 GB, free: 154 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/13.1, allocations: 17.53 kB / 4.085 GB, free: 154 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/13.1, allocations: 335.2 kB / 4.086 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/13.11, allocations: 0.5605 MB / 4.086 GB, free: 153.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/13.11, allocations: 0.7093 MB / 4.087 GB, free: 153.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/13.11, allocations: 0.6168 MB / 4.087 GB, free: 153.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/13.11, allocations: 2.125 kB / 4.087 GB, free: 153.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0068/13.12, allocations: 1.414 MB / 4.089 GB, free: 153.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002405/13.12, allocations: 493.1 kB / 4.089 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/13.12, allocations: 0 / 4.089 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.969e-05/13.12, allocations: 7.922 kB / 4.089 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/13.12, allocations: 264.7 kB / 4.09 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008354/13.12, allocations: 1.192 MB / 4.091 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/13.13, allocations: 195.8 kB / 4.091 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/13.13, allocations: 45.5 kB / 4.091 GB, free: 151.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/13.13, allocations: 7.688 kB / 4.091 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005789/13.13, allocations: 1.309 MB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/13.13, allocations: 0 / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/13.13, allocations: 3.625 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/13.14, allocations: 256.8 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/13.14, allocations: 3.906 kB / 4.092 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/13.14, allocations: 198.5 kB / 4.093 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/13.14, allocations: 35.47 kB / 4.093 GB, free: 151.6 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 () * 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.0009905/13.14, allocations: 382.4 kB / 4.093 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/13.14, allocations: 102.4 kB / 4.093 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006172/13.15, allocations: 1.438 MB / 4.095 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/13.15, allocations: 6.062 kB / 4.095 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/13.15, allocations: 0 / 4.095 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/13.15, allocations: 3.844 kB / 4.095 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009834/13.16, allocations: 2.89 MB / 4.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/13.16, allocations: 10.16 kB / 4.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/13.16, allocations: 248.2 kB / 4.098 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/13.16, allocations: 3.875 kB / 4.098 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/13.16, allocations: 27.94 kB / 4.098 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005702/13.16, allocations: 1.194 MB / 4.099 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/13.16, allocations: 3.906 kB / 4.099 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006056/13.17, allocations: 1.708 MB / 4.101 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/13.17, allocations: 307.5 kB / 4.101 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/13.17, allocations: 19.53 kB / 4.101 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/13.17, allocations: 170.7 kB / 4.101 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/13.17, allocations: 58.64 kB / 4.101 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/13.17, allocations: 40.77 kB / 4.101 GB, free: 148.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001139/13.17, allocations: 0.5579 MB / 4.102 GB, free: 148.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/13.17, allocations: 3.281 kB / 4.102 GB, free: 148.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003548/13.17, allocations: 0.7598 MB / 4.102 GB, free: 148.8 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 () * 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.01108/13.19, allocations: 5.544 MB / 4.108 GB, free: 145.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009442/13.19, allocations: 2.113 MB / 4.11 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/13.2, allocations: 3.594 kB / 4.11 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003185/13.2, allocations: 0.6872 MB / 4.111 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/13.2, allocations: 0.5065 MB / 4.111 GB, free: 145.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/13.21, allocations: 3.61 MB / 4.115 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/13.21, allocations: 1.115 MB / 4.116 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003059/13.22, allocations: 395.2 kB / 4.116 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/13.22, allocations: 389.9 kB / 4.116 GB, free: 143 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/13.22, allocations: 0 / 4.116 GB, free: 143 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/13.36, allocations: 61.88 MB / 4.177 GB, free: 117.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/13.36, allocations: 294.1 kB / 4.177 GB, free: 117 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.742/19.1, allocations: 3.75 kB / 4.177 GB, free: 117 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)