Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009588/0.0009589, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 20 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9264, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2147/1.141, allocations: 176.7 MB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01241/1.154, allocations: 6.993 MB / 1.133 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/1.155, allocations: 35.75 kB / 1.133 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/1.158, allocations: 0.7116 MB / 1.134 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007799/1.166, allocations: 2.255 MB / 1.136 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/1.17, allocations: 1.065 MB / 1.137 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005024/1.175, allocations: 1.627 MB / 1.138 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/1.176, allocations: 0.8391 MB / 1.139 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/1.18, allocations: 1.32 MB / 1.141 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/1.181, allocations: 0.6225 MB / 1.141 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/1.182, allocations: 48 kB / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/1.185, allocations: 1.322 MB / 1.143 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/1.186, allocations: 318.9 kB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005132/1.186, allocations: 273.1 kB / 1.143 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002501/1.189, allocations: 1.602 MB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.189, allocations: 0 / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/1.189, allocations: 0 / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.189, allocations: 0 / 1.145 GB, free: 12 MB / 0.9044 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.004881/1.194, allocations: 1.579 MB / 1.146 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/1.194, allocations: 15.97 kB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003182/1.194, allocations: 131.1 kB / 1.146 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/1.197, allocations: 0.5838 MB / 1.147 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/1.2, allocations: 0.9297 MB / 1.148 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007538/1.2, allocations: 201.8 kB / 1.148 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/1.201, allocations: 80 kB / 1.148 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/1.204, allocations: 1.256 MB / 1.149 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.204, allocations: 3.953 kB / 1.149 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.204, allocations: 32 kB / 1.149 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/1.204, allocations: 53.97 kB / 1.149 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003953/1.208, allocations: 1.608 MB / 1.151 GB, free: 5.41 MB / 0.9044 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.007135/1.215, allocations: 4.073 MB / 1.155 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/1.218, allocations: 1.072 MB / 1.156 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/1.218, allocations: 286.6 kB / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/1.218, allocations: 43.22 kB / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 1.873e-06/1.218, allocations: 0 / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.00497/1.223, allocations: 1.914 MB / 1.158 GB, free: 13.69 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.224, allocations: 60.06 kB / 1.158 GB, free: 13.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.225, allocations: 0.8154 MB / 1.159 GB, free: 12.78 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/1.225, allocations: 37.7 kB / 1.159 GB, free: 12.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/1.225, allocations: 452.5 kB / 1.16 GB, free: 12.29 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/1.226, allocations: 260.2 kB / 1.16 GB, free: 12.03 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/1.226, allocations: 16 kB / 1.16 GB, free: 12.01 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.226, allocations: 337.9 kB / 1.16 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/1.227, allocations: 0.5563 MB / 1.161 GB, free: 11.12 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.229, allocations: 0.6871 MB / 1.161 GB, free: 10.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/1.23, allocations: 0.6138 MB / 1.162 GB, free: 9.777 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.23, allocations: 0 / 1.162 GB, free: 9.777 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003295/1.233, allocations: 1.411 MB / 1.163 GB, free: 8.352 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/1.234, allocations: 485.3 kB / 1.164 GB, free: 7.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.234, allocations: 3.938 kB / 1.164 GB, free: 7.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.234, allocations: 4 kB / 1.164 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.235, allocations: 271.7 kB / 1.164 GB, free: 7.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007408/1.236, allocations: 1.199 MB / 1.165 GB, free: 6.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.237, allocations: 194.8 kB / 1.165 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/1.237, allocations: 27.98 kB / 1.165 GB, free: 6.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.237, allocations: 5.875 kB / 1.165 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003083/1.24, allocations: 1.317 MB / 1.167 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/1.241, allocations: 0 / 1.167 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/1.241, allocations: 8 kB / 1.167 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.242, allocations: 243.8 kB / 1.167 GB, free: 4.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.242, allocations: 8 kB / 1.167 GB, free: 4.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.243, allocations: 195.1 kB / 1.167 GB, free: 4.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/1.243, allocations: 39.92 kB / 1.167 GB, free: 4.293 MB / 0.92 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 (83): * Single equations (assignments): 80 * 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.0007333/1.244, allocations: 368.9 kB / 1.168 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/1.244, allocations: 102.8 kB / 1.168 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/1.248, allocations: 1.433 MB / 1.169 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.248, allocations: 8 kB / 1.169 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.248, allocations: 4 kB / 1.169 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.248, allocations: 3.984 kB / 1.169 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006069/1.254, allocations: 2.989 MB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.254, allocations: 4.531 kB / 1.172 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.255, allocations: 259.6 kB / 1.172 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-05/1.255, allocations: 7.984 kB / 1.172 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/1.255, allocations: 27.98 kB / 1.172 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009935/1.256, allocations: 1.188 MB / 1.173 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/1.256, allocations: 20.16 kB / 1.173 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/1.261, allocations: 1.753 MB / 1.175 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000793/1.261, allocations: 303.6 kB / 1.175 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.261, allocations: 20 kB / 1.175 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.263, allocations: 171.6 kB / 1.176 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.263, allocations: 60.44 kB / 1.176 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/1.263, allocations: 39.97 kB / 1.176 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00102/1.264, allocations: 0.5621 MB / 1.176 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.264, allocations: 4 kB / 1.176 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001547/1.266, allocations: 0.5302 MB / 1.177 GB, free: 10.08 MB / 0.9356 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.00481/1.27, allocations: 3.625 MB / 1.18 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005407/1.276, allocations: 2.127 MB / 1.182 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.276, allocations: 0 / 1.182 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/1.278, allocations: 0.7068 MB / 1.183 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.281, allocations: 0.5082 MB / 1.184 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/1.288, allocations: 3.63 MB / 1.187 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/1.289, allocations: 1.114 MB / 1.188 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001784/1.291, allocations: 399.5 kB / 1.189 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/1.292, allocations: 383.3 kB / 1.189 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/1.292, allocations: 0 / 1.189 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/1.348, allocations: 28.52 MB / 1.217 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/1.348, allocations: 288.5 kB / 1.217 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.741, allocations: 0 / 1.217 GB, free: 0.9492 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat does not exist to compare? outputFormat=mat