Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.001154/0.001154, allocations: 100.9 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.001339/0.001339, allocations: 177.3 kB / 15.94 MB, free: 228 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.671/1.671, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.685/2.685, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.000503, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8137, allocations: 146.8 MB / 0.9809 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2078/1.022, allocations: 176.7 MB / 1.153 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01086/1.032, allocations: 6.966 MB / 1.16 GB, free: 14.36 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/1.034, allocations: 35.75 kB / 1.16 GB, free: 14.33 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002356/1.036, allocations: 0.7271 MB / 1.161 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006803/1.043, allocations: 2.255 MB / 1.163 GB, free: 11.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/1.047, allocations: 1.056 MB / 1.164 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003404/1.05, allocations: 1.627 MB / 1.166 GB, free: 8.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/1.052, allocations: 0.8469 MB / 1.167 GB, free: 7.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/1.055, allocations: 1.308 MB / 1.168 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/1.057, allocations: 0.6186 MB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/1.057, allocations: 48 kB / 1.169 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003587/1.06, allocations: 1.33 MB / 1.17 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/1.061, allocations: 318.9 kB / 1.17 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004803/1.061, allocations: 269.1 kB / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/1.064, allocations: 1.602 MB / 1.172 GB, free: 2.301 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/1.064, allocations: 4 kB / 1.172 GB, free: 2.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.635e-06/1.064, allocations: 0 / 1.172 GB, free: 2.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.673e-05/1.064, allocations: 0 / 1.172 GB, free: 2.297 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.004041/1.068, allocations: 1.575 MB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.068, allocations: 12.03 kB / 1.173 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/1.068, allocations: 139.1 kB / 1.174 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/1.071, allocations: 0.5838 MB / 1.174 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/1.073, allocations: 0.9297 MB / 1.175 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006328/1.074, allocations: 197.9 kB / 1.175 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.074, allocations: 84 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/1.077, allocations: 1.256 MB / 1.177 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.077, allocations: 4 kB / 1.177 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.077, allocations: 32 kB / 1.177 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/1.077, allocations: 53.92 kB / 1.177 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/1.08, allocations: 1.608 MB / 1.178 GB, free: 11.71 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.006539/1.087, allocations: 4.077 MB / 1.182 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/1.09, allocations: 1.069 MB / 1.183 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/1.09, allocations: 294.9 kB / 1.184 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/1.09, allocations: 43.22 kB / 1.184 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/1.091, allocations: 0 / 1.184 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.005139/1.096, allocations: 1.917 MB / 1.185 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.096, allocations: 60.06 kB / 1.186 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.097, allocations: 0.8076 MB / 1.186 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.097, allocations: 45.7 kB / 1.186 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/1.097, allocations: 444.5 kB / 1.187 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/1.098, allocations: 268.1 kB / 1.187 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/1.098, allocations: 12 kB / 1.187 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.098, allocations: 330 kB / 1.187 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/1.099, allocations: 0.5602 MB / 1.188 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.101, allocations: 0.6793 MB / 1.189 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/1.102, allocations: 0.6139 MB / 1.189 GB, free: 88 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.102, allocations: 0 / 1.189 GB, free: 88 kB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003385/1.105, allocations: 1.407 MB / 1.191 GB, free: 14.66 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002251/1.106, allocations: 485.3 kB / 1.191 GB, free: 14.15 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.106, allocations: 0 / 1.191 GB, free: 14.15 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.106, allocations: 4 kB / 1.191 GB, free: 14.15 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.107, allocations: 287.6 kB / 1.191 GB, free: 13.87 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000717/1.108, allocations: 1.188 MB / 1.192 GB, free: 12.63 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.109, allocations: 191.4 kB / 1.193 GB, free: 12.45 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/1.11, allocations: 39.92 kB / 1.193 GB, free: 12.41 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.11, allocations: 4 kB / 1.193 GB, free: 12.4 MB / 0.9513 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00312/1.113, allocations: 1.309 MB / 1.194 GB, free: 11.09 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.113, allocations: 4.062 kB / 1.194 GB, free: 11.08 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.113, allocations: 4 kB / 1.194 GB, free: 11.08 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.114, allocations: 247.7 kB / 1.194 GB, free: 10.84 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.114, allocations: 4 kB / 1.194 GB, free: 10.83 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.115, allocations: 199.2 kB / 1.194 GB, free: 10.64 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/1.115, allocations: 35.97 kB / 1.194 GB, free: 10.6 MB / 0.9513 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.0007067/1.116, allocations: 369 kB / 1.195 GB, free: 10.23 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.116, allocations: 106.7 kB / 1.195 GB, free: 10.12 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/1.12, allocations: 1.441 MB / 1.196 GB, free: 8.676 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.12, allocations: 8 kB / 1.196 GB, free: 8.668 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.12, allocations: 0 / 1.196 GB, free: 8.668 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.12, allocations: 3.984 kB / 1.196 GB, free: 8.664 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005811/1.126, allocations: 2.993 MB / 1.199 GB, free: 5.562 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.126, allocations: 7.984 kB / 1.199 GB, free: 5.555 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.127, allocations: 255.8 kB / 1.199 GB, free: 5.305 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/1.127, allocations: 8 kB / 1.199 GB, free: 5.297 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/1.127, allocations: 23.98 kB / 1.199 GB, free: 5.273 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005823/1.128, allocations: 1.196 MB / 1.201 GB, free: 4.031 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.128, allocations: 7.984 kB / 1.201 GB, free: 4.023 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/1.131, allocations: 1.745 MB / 1.202 GB, free: 2.105 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/1.132, allocations: 311.6 kB / 1.203 GB, free: 1.781 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.132, allocations: 23.98 kB / 1.203 GB, free: 1.758 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.133, allocations: 163.7 kB / 1.203 GB, free: 1.598 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.133, allocations: 64.38 kB / 1.203 GB, free: 1.535 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/1.133, allocations: 31.97 kB / 1.203 GB, free: 1.504 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.0008299/1.134, allocations: 0.5661 MB / 1.203 GB, free: 0.9258 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.2e-07/1.134, allocations: 0 / 1.203 GB, free: 0.9258 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.001461/1.136, allocations: 0.5302 MB / 1.204 GB, free: 404 kB / 0.9513 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.005045/1.141, allocations: 3.633 MB / 1.208 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005291/1.146, allocations: 2.123 MB / 1.21 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.146, allocations: 0 / 1.21 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.148, allocations: 0.7146 MB / 1.21 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.151, allocations: 0.5101 MB / 1.211 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/1.156, allocations: 3.608 MB / 1.214 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.157, allocations: 1.118 MB / 1.215 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001659/1.159, allocations: 395.5 kB / 1.216 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/1.159, allocations: 387.3 kB / 1.216 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of SimCode: time 1.042e-06/1.159, allocations: 0 / 1.216 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.448/4.608, allocations: 28.48 MB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/4.608, allocations: 264 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/7.291, allocations: 2.391 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat