Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_latest_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.00168/0.001686, allocations: 99.47 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.002093/0.002093, 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.583/1.583, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.717/2.717, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004374, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.6994, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.1837/0.8832, allocations: 176.7 MB / 1.153 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.8938, allocations: 6.972 MB / 1.16 GB, free: 14.17 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.8952, allocations: 35.75 kB / 1.16 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.8975, allocations: 0.7271 MB / 1.161 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006918/0.9045, allocations: 2.247 MB / 1.163 GB, free: 11.15 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.9078, allocations: 1.065 MB / 1.164 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.9114, allocations: 1.635 MB / 1.166 GB, free: 8.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.913, allocations: 0.8353 MB / 1.167 GB, free: 7.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.9163, allocations: 1.305 MB / 1.168 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.9177, allocations: 0.6225 MB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.9178, allocations: 48 kB / 1.169 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/0.921, allocations: 1.334 MB / 1.17 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.9215, allocations: 315 kB / 1.17 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.922, allocations: 269.1 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.9246, allocations: 1.602 MB / 1.172 GB, free: 2.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.9246, allocations: 0 / 1.172 GB, free: 2.109 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9246, allocations: 0 / 1.172 GB, free: 2.109 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.9246, allocations: 0 / 1.172 GB, free: 2.109 MB / 0.92 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.004268/0.9289, allocations: 1.587 MB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9289, allocations: 12.03 kB / 1.174 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/0.9292, allocations: 127.1 kB / 1.174 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.9324, allocations: 0.5838 MB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.9344, allocations: 0.9348 MB / 1.175 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006193/0.9351, allocations: 193.9 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.9352, allocations: 84 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.9379, allocations: 1.268 MB / 1.177 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.938, allocations: 0 / 1.177 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.9381, allocations: 35.98 kB / 1.177 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/0.9381, allocations: 41.98 kB / 1.177 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.9418, allocations: 1.612 MB / 1.178 GB, free: 11.52 MB / 0.9356 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.006951/0.9488, allocations: 4.069 MB / 1.182 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.9515, allocations: 1.073 MB / 1.183 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007955/0.9524, allocations: 298.8 kB / 1.184 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.9524, allocations: 43.16 kB / 1.184 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 3.546e-06/0.9524, allocations: 0 / 1.184 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004937/0.9574, allocations: 1.914 MB / 1.185 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.9574, allocations: 64.05 kB / 1.186 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9584, allocations: 0.8076 MB / 1.186 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.9586, allocations: 41.7 kB / 1.186 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.9589, allocations: 452.5 kB / 1.187 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.9591, allocations: 260.1 kB / 1.187 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.9592, allocations: 16 kB / 1.187 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9593, allocations: 330 kB / 1.187 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.9607, allocations: 0.5601 MB / 1.188 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.9622, allocations: 0.691 MB / 1.189 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.9636, allocations: 0.61 MB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9636, allocations: 0 / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003302/0.9669, allocations: 1.407 MB / 1.191 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.9671, allocations: 481.3 kB / 1.191 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.9671, allocations: 0 / 1.191 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.9672, allocations: 4 kB / 1.191 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.9687, allocations: 283.6 kB / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006602/0.9694, allocations: 1.191 MB / 1.192 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.9707, allocations: 191.4 kB / 1.193 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.9708, allocations: 31.97 kB / 1.193 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.9708, allocations: 4 kB / 1.193 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003061/0.9739, allocations: 1.305 MB / 1.194 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9739, allocations: 8 kB / 1.194 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.9739, allocations: 4 kB / 1.194 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.9751, allocations: 247.7 kB / 1.194 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9751, allocations: 7.984 kB / 1.194 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.9764, allocations: 198 kB / 1.194 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.9765, allocations: 31.98 kB / 1.194 GB, free: 10.42 MB / 0.9512 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.0006094/0.9771, allocations: 372.9 kB / 1.195 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.9773, allocations: 110.7 kB / 1.195 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/0.9807, allocations: 1.441 MB / 1.196 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.9807, allocations: 8 kB / 1.196 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9807, allocations: 0 / 1.196 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.9807, allocations: 3.984 kB / 1.196 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.9862, allocations: 3.001 MB / 1.199 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.9863, allocations: 4 kB / 1.199 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.9875, allocations: 247.9 kB / 1.199 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.9875, allocations: 4 kB / 1.199 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.9876, allocations: 27.92 kB / 1.2 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005665/0.9882, allocations: 1.196 MB / 1.201 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.9882, allocations: 7.938 kB / 1.201 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.9915, allocations: 1.741 MB / 1.202 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/0.9922, allocations: 311.5 kB / 1.203 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.9924, allocations: 27.98 kB / 1.203 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.9935, allocations: 159.7 kB / 1.203 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.9937, allocations: 64.38 kB / 1.203 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.9938, allocations: 39.97 kB / 1.203 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007259/0.9945, allocations: 0.5622 MB / 1.204 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9945, allocations: 4 kB / 1.204 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001339/0.9959, allocations: 0.5302 MB / 1.204 GB, free: 208 kB / 0.9512 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.004459/1, allocations: 3.623 MB / 1.208 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005183/1.006, allocations: 2.127 MB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.006, allocations: 3.938 kB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.007, allocations: 0.7146 MB / 1.21 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.01, allocations: 0.5085 MB / 1.211 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/1.016, allocations: 3.616 MB / 1.214 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/1.016, allocations: 1.118 MB / 1.215 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00162/1.018, allocations: 395.5 kB / 1.216 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/1.018, allocations: 387.3 kB / 1.216 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of SimCode: time 1.122e-06/1.018, allocations: 0 / 1.216 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.233/3.252, allocations: 28.53 MB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003466/3.252, allocations: 292 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/6.003, allocations: 2.062 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat does not exist to compare? outputFormat=mat