Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.666/1.666, allocations: 251.9 MB / 266.8 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 183.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001239/0.001239, allocations: 96.27 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.00046, allocations: 9.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2463, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.8127/1.059, allocations: 176.9 MB / 1.073 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01478/1.074, allocations: 7.004 MB / 1.08 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/1.076, allocations: 39.22 kB / 1.08 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/1.079, allocations: 0.7253 MB / 1.081 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009839/1.089, allocations: 2.199 MB / 1.083 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004953/1.094, allocations: 1.207 MB / 1.084 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005172/1.099, allocations: 1.614 MB / 1.085 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/1.102, allocations: 0.8195 MB / 1.086 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/1.106, allocations: 1.261 MB / 1.087 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/1.108, allocations: 0.6784 MB / 1.088 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000204/1.108, allocations: 46.44 kB / 1.088 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004265/1.113, allocations: 1.33 MB / 1.089 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/1.113, allocations: 316.7 kB / 1.09 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009064/1.114, allocations: 269.5 kB / 1.09 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/1.117, allocations: 1.601 MB / 1.092 GB, free: 19.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.117, allocations: 1.969 kB / 1.092 GB, free: 19.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.096e-06/1.117, allocations: 0 / 1.092 GB, free: 19.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.365e-05/1.117, allocations: 0.9688 kB / 1.092 GB, free: 19.36 MB / 0.7136 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.004862/1.122, allocations: 1.578 MB / 1.093 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/1.122, allocations: 12.38 kB / 1.093 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/1.122, allocations: 128.7 kB / 1.093 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/1.125, allocations: 0.599 MB / 1.094 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/1.128, allocations: 0.9274 MB / 1.095 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006202/1.128, allocations: 193.3 kB / 1.095 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.129, allocations: 85.44 kB / 1.095 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/1.131, allocations: 1.255 MB / 1.096 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/1.131, allocations: 3.141 kB / 1.096 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.132, allocations: 34.69 kB / 1.096 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/1.132, allocations: 45.41 kB / 1.096 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/1.135, allocations: 1.616 MB / 1.098 GB, free: 17.91 MB / 0.7136 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.007268/1.143, allocations: 4.093 MB / 1.102 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/1.145, allocations: 1.072 MB / 1.103 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007537/1.146, allocations: 295.7 kB / 1.103 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/1.146, allocations: 42.44 kB / 1.103 GB, free: 16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.276e-06/1.146, allocations: 0 / 1.103 GB, free: 16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.004938/1.151, allocations: 1.906 MB / 1.105 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.151, allocations: 63.81 kB / 1.105 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.152, allocations: 0.8139 MB / 1.106 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/1.152, allocations: 41.7 kB / 1.106 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/1.153, allocations: 443.6 kB / 1.106 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/1.153, allocations: 257.9 kB / 1.107 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/1.153, allocations: 16.58 kB / 1.107 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.153, allocations: 337 kB / 1.107 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/1.155, allocations: 0.5615 MB / 1.108 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/1.156, allocations: 0.6976 MB / 1.108 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.157, allocations: 0.6145 MB / 1.109 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.157, allocations: 3.031 kB / 1.109 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003436/1.161, allocations: 1.426 MB / 1.11 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003017/1.161, allocations: 0.5611 MB / 1.111 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.161, allocations: 4.812 kB / 1.111 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/1.161, allocations: 3 kB / 1.111 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.163, allocations: 278.3 kB / 1.111 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008898/1.164, allocations: 1.194 MB / 1.112 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/1.165, allocations: 197.2 kB / 1.112 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.166, allocations: 39.73 kB / 1.112 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.166, allocations: 6.062 kB / 1.112 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003129/1.169, allocations: 1.314 MB / 1.114 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.169, allocations: 2.906 kB / 1.114 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/1.169, allocations: 7.453 kB / 1.114 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.17, allocations: 250.2 kB / 1.114 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.17, allocations: 10.8 kB / 1.114 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.172, allocations: 195.6 kB / 1.114 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.172, allocations: 39.78 kB / 1.114 GB, free: 12.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0007929/1.172, allocations: 377.5 kB / 1.115 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/1.173, allocations: 102.2 kB / 1.115 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/1.176, allocations: 1.428 MB / 1.116 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/1.176, allocations: 16.05 kB / 1.116 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.176, allocations: 4 kB / 1.116 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.176, allocations: 3.516 kB / 1.116 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007033/1.184, allocations: 2.988 MB / 1.119 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.184, allocations: 3.312 kB / 1.119 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.185, allocations: 250.8 kB / 1.119 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/1.185, allocations: 11.09 kB / 1.119 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/1.185, allocations: 26.09 kB / 1.119 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007961/1.186, allocations: 1.193 MB / 1.12 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.186, allocations: 4.375 kB / 1.12 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/1.191, allocations: 1.756 MB / 1.122 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.192, allocations: 308.2 kB / 1.122 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/1.193, allocations: 17.25 kB / 1.122 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.195, allocations: 162.6 kB / 1.123 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.195, allocations: 68.12 kB / 1.123 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.195, allocations: 34.5 kB / 1.123 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001416/1.196, allocations: 0.5589 MB / 1.123 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.196, allocations: 0 / 1.123 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002871/1.199, allocations: 0.5384 MB / 1.124 GB, free: 9.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.005911/1.205, allocations: 3.641 MB / 1.127 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00595/1.211, allocations: 2.141 MB / 1.129 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.211, allocations: 0 / 1.129 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.213, allocations: 0.7079 MB / 1.13 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.217, allocations: 0.498 MB / 1.131 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008338/1.225, allocations: 3.751 MB / 1.134 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.226, allocations: 1.119 MB / 1.135 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002163/1.228, allocations: 392.3 kB / 1.136 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/1.229, allocations: 391.2 kB / 1.136 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of SimCode: time 4.559e-06/1.229, allocations: 0 / 1.136 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/1.289, allocations: 28.31 MB / 1.164 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/1.289, allocations: 298.1 kB / 1.164 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/4.35, allocations: 0 / 1.164 GB, free: 13.08 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)