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.0009736/0.0009736, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001257/0.001257, allocations: 168.7 kB / 15.95 MB, free: 204 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.359/1.359, allocations: 223.2 MB / 240 MB, free: 5.406 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.378/2.378, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.629/0.6294, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04606/0.6755, allocations: 49.09 MB / 1.002 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.695, allocations: 14.23 MB / 1.016 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.6978, allocations: 75.56 kB / 1.016 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.7007, allocations: 0.7663 MB / 1.017 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005481/0.7062, allocations: 1.886 MB / 1.018 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004913/0.7112, allocations: 1.727 MB / 1.02 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006312/0.7175, allocations: 5.141 MB / 1.025 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.7195, allocations: 1.229 MB / 1.026 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.7224, allocations: 1.536 MB / 1.028 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.7245, allocations: 1.26 MB / 1.029 GB, free: 3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.7248, allocations: 68 kB / 1.029 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.728, allocations: 1.396 MB / 1.03 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005384/0.7285, allocations: 414.2 kB / 1.031 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006729/0.7292, allocations: 400.6 kB / 1.031 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.7323, allocations: 2.412 MB / 1.034 GB, free: 14.31 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7323, allocations: 0 / 1.034 GB, free: 14.31 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7324, allocations: 0 / 1.034 GB, free: 14.31 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.951e-05/0.7324, allocations: 4 kB / 1.034 GB, free: 14.31 MB / 0.795 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.004105/0.7365, allocations: 2.194 MB / 1.036 GB, free: 12.05 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7366, allocations: 12.03 kB / 1.036 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.7368, allocations: 169 kB / 1.036 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.7393, allocations: 0.5594 MB / 1.036 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.7427, allocations: 1.667 MB / 1.038 GB, free: 9.582 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.7431, allocations: 154.4 kB / 1.038 GB, free: 9.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.7432, allocations: 123.9 kB / 1.038 GB, free: 9.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.7459, allocations: 1.396 MB / 1.04 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.7459, allocations: 3.938 kB / 1.04 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.746, allocations: 48 kB / 1.04 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.7461, allocations: 46.02 kB / 1.04 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.7489, allocations: 1.242 MB / 1.041 GB, free: 6.473 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.00883/0.7578, allocations: 7.081 MB / 1.048 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.7603, allocations: 1.466 MB / 1.049 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.7613, allocations: 474.8 kB / 1.05 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004696/0.766, allocations: 3.186 MB / 1.053 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.7672, allocations: 0.4949 MB / 1.053 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004471/0.7677, allocations: 79.34 kB / 1.053 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.615e-06/0.7677, allocations: 0 / 1.053 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.003339/0.771, allocations: 1.385 MB / 1.055 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.7711, allocations: 67.91 kB / 1.055 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.773, allocations: 1.545 MB / 1.056 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.7731, allocations: 41.7 kB / 1.056 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.7738, allocations: 0.8763 MB / 1.057 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.774, allocations: 216.9 kB / 1.057 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.774, allocations: 16 kB / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7742, allocations: 345.9 kB / 1.058 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.7752, allocations: 417.7 kB / 1.058 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.7764, allocations: 0.7905 MB / 1.059 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.7776, allocations: 0.5083 MB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.7776, allocations: 4 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00291/0.7805, allocations: 1.364 MB / 1.061 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/0.7808, allocations: 433.2 kB / 1.061 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.7808, allocations: 12 kB / 1.061 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.7808, allocations: 16 kB / 1.061 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.782, allocations: 287.6 kB / 1.062 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.782, allocations: 27.83 kB / 1.062 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.7834, allocations: 152.3 kB / 1.062 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/0.7835, allocations: 51.98 kB / 1.062 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.7835, allocations: 8 kB / 1.062 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002483/0.786, allocations: 1.188 MB / 1.063 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.786, allocations: 8 kB / 1.063 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.7861, allocations: 20 kB / 1.063 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.7871, allocations: 284.1 kB / 1.063 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.7871, allocations: 27.88 kB / 1.063 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.7884, allocations: 140.4 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/0.7885, allocations: 51.98 kB / 1.063 GB, free: 14.04 MB / 0.8262 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 (120): * Single equations (assignments): 118 * 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.0008617/0.7894, allocations: 484.6 kB / 1.064 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.7896, allocations: 161.9 kB / 1.064 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.7924, allocations: 1.233 MB / 1.065 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.7925, allocations: 12 kB / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7925, allocations: 0 / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/0.7946, allocations: 1.068 MB / 1.066 GB, free: 11.03 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.004772/0.7993, allocations: 2.57 MB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.7994, allocations: 4 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007999/0.8002, allocations: 167.8 kB / 1.069 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.8004, allocations: 28.84 kB / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.8004, allocations: 27.98 kB / 1.069 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.8015, allocations: 1.363 MB / 1.07 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.8016, allocations: 12.03 kB / 1.07 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.8051, allocations: 1.713 MB / 1.072 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/0.8058, allocations: 354.6 kB / 1.072 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.806, allocations: 19.98 kB / 1.072 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8071, allocations: 135.9 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.8073, allocations: 56.48 kB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.8073, allocations: 35.97 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001722/0.8091, allocations: 1.093 MB / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8091, allocations: 0 / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00285/0.8119, allocations: 0.8849 MB / 1.075 GB, free: 2.293 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.005562/0.8175, allocations: 2.871 MB / 1.077 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003846/0.8214, allocations: 1.722 MB / 1.079 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8214, allocations: 4 kB / 1.079 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.8227, allocations: 0.6075 MB / 1.08 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/0.8262, allocations: 0.7256 MB / 1.08 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.8464, allocations: 10.97 MB / 1.091 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/0.8474, allocations: 1.36 MB / 1.092 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001886/0.8493, allocations: 430 kB / 1.093 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009093/0.8502, allocations: 0.7101 MB / 1.094 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of SimCode: time 9.82e-07/0.8502, allocations: 0 / 1.094 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07285/0.9231, allocations: 46.46 MB / 1.139 GB, free: 304 kB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.9233, allocations: 258.2 kB / 1.139 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.853, allocations: 0 / 1.139 GB, free: 15.96 MB / 0.9044 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