Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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.001216/0.001216, 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.001327/0.001327, 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.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.426/2.426, allocations: 390.3 MB / 0.6653 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003649, allocations: 15.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7115/0.7119, allocations: 142.3 MB / 0.9536 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04624/0.7582, allocations: 44.79 MB / 0.9973 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.7778, allocations: 13.27 MB / 1.01 GB, free: 6.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.7813, allocations: 71.5 kB / 1.01 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.7847, allocations: 0.9209 MB / 1.011 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007257/0.7919, allocations: 2.366 MB / 1.014 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005511/0.7975, allocations: 2.076 MB / 1.016 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005283/0.8028, allocations: 2.748 MB / 1.018 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.8049, allocations: 1.238 MB / 1.019 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.8079, allocations: 1.362 MB / 1.021 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.8094, allocations: 0.9137 MB / 1.022 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.8096, allocations: 68 kB / 1.022 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.8126, allocations: 1.272 MB / 1.023 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.8131, allocations: 394.5 kB / 1.023 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.8136, allocations: 400.6 kB / 1.024 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.8165, allocations: 2.346 MB / 1.026 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8165, allocations: 0 / 1.026 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8165, allocations: 0 / 1.026 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.721e-05/0.8166, allocations: 8 kB / 1.026 GB, free: 5.824 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003917/0.8205, allocations: 2.186 MB / 1.028 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8205, allocations: 12.03 kB / 1.028 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.8207, allocations: 165 kB / 1.028 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.8234, allocations: 0.5672 MB / 1.029 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.8267, allocations: 1.594 MB / 1.03 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.8271, allocations: 158.4 kB / 1.031 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.8273, allocations: 116 kB / 1.031 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.8298, allocations: 1.385 MB / 1.032 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.8299, allocations: 7.938 kB / 1.032 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.83, allocations: 44 kB / 1.032 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.83, allocations: 50.03 kB / 1.032 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.8331, allocations: 1.23 MB / 1.033 GB, free: 14.09 MB / 0.795 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.009706/0.8428, allocations: 7.218 MB / 1.04 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.8454, allocations: 1.454 MB / 1.042 GB, free: 4.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005032/0.8505, allocations: 3.178 MB / 1.045 GB, free: 1.215 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.8517, allocations: 482.9 kB / 1.045 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005558/0.8523, allocations: 95.19 kB / 1.046 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of pre-optimization done (n=62): time 2.926e-06/0.8523, allocations: 3.938 kB / 1.046 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of matching and sorting (n=62): time 0.003536/0.8558, allocations: 1.374 MB / 1.047 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.8559, allocations: 55.97 kB / 1.047 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.858, allocations: 1.58 MB / 1.048 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/0.8581, allocations: 45.7 kB / 1.048 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/0.8588, allocations: 0.8723 MB / 1.049 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.859, allocations: 216.9 kB / 1.05 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.8591, allocations: 20 kB / 1.05 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8592, allocations: 349.9 kB / 1.05 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.8603, allocations: 405.7 kB / 1.05 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.8615, allocations: 0.7866 MB / 1.051 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.8627, allocations: 0.5045 MB / 1.052 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.8627, allocations: 8 kB / 1.052 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003119/0.8658, allocations: 1.352 MB / 1.053 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001424/0.8673, allocations: 4.351 MB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.8673, allocations: 12 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/0.8674, allocations: 19.95 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.8686, allocations: 291.5 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/0.8686, allocations: 23.92 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.8703, allocations: 154.1 kB / 1.058 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.8704, allocations: 55.98 kB / 1.058 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.8704, allocations: 4 kB / 1.058 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002708/0.8731, allocations: 1.189 MB / 1.059 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.8732, allocations: 12 kB / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.8732, allocations: 24.05 kB / 1.059 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.8743, allocations: 283.6 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.8743, allocations: 23.92 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.8759, allocations: 136.5 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.876, allocations: 51.98 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008581/0.8768, allocations: 488.6 kB / 1.06 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.8771, allocations: 161.9 kB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.8801, allocations: 1.229 MB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.8802, allocations: 11.98 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.8802, allocations: 3.938 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002188/0.8824, allocations: 1.06 MB / 1.062 GB, free: 14.82 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.005342/0.8877, allocations: 2.569 MB / 1.065 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.8878, allocations: 4 kB / 1.065 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/0.8886, allocations: 163.9 kB / 1.065 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.8889, allocations: 40.77 kB / 1.065 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.8889, allocations: 23.98 kB / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.8901, allocations: 1.378 MB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.8901, allocations: 4.094 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/0.8941, allocations: 1.74 MB / 1.068 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009387/0.8951, allocations: 366.6 kB / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.8955, allocations: 12 kB / 1.068 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.8969, allocations: 139.7 kB / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.897, allocations: 48.48 kB / 1.069 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.8971, allocations: 39.91 kB / 1.069 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002014/0.8991, allocations: 1.121 MB / 1.07 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8992, allocations: 0 / 1.07 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00326/0.9024, allocations: 0.9006 MB / 1.071 GB, free: 5.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006093/0.9085, allocations: 3.028 MB / 1.073 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004256/0.9128, allocations: 1.715 MB / 1.075 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.9128, allocations: 0 / 1.075 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.9143, allocations: 0.5995 MB / 1.076 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/0.918, allocations: 0.7223 MB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.9292, allocations: 12.29 MB / 1.088 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.9303, allocations: 1.392 MB / 1.09 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002062/0.9324, allocations: 426.1 kB / 1.09 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.9334, allocations: 0.7257 MB / 1.091 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.9335, allocations: 0 / 1.091 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08487/1.018, allocations: 45.84 MB / 1.136 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/1.019, allocations: 254.9 kB / 1.136 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.979, allocations: 0 / 1.136 GB, free: 3.156 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat does not exist to compare? outputFormat=mat