Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.002004/0.002004, 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.00163/0.00163, 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 2.638/2.638, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.009/5.009, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009103/0.000911, allocations: 15.97 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67/1.671, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.09554/1.766, allocations: 51.34 MB / 1.031 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03017/1.797, allocations: 10.33 MB / 1.041 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/1.801, allocations: 51.62 kB / 1.041 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004762/1.806, allocations: 0.6258 MB / 1.042 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01442/1.82, allocations: 1.954 MB / 1.044 GB, free: 5.828 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007954/1.828, allocations: 1.298 MB / 1.045 GB, free: 4.551 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008226/1.837, allocations: 1.871 MB / 1.047 GB, free: 2.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/1.84, allocations: 0.8264 MB / 1.048 GB, free: 1.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/1.845, allocations: 0.9808 MB / 1.049 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/1.848, allocations: 0.6105 MB / 1.049 GB, free: 236 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000429/1.848, allocations: 44 kB / 1.049 GB, free: 192 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005857/1.854, allocations: 0.9985 MB / 1.05 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009677/1.855, allocations: 203.1 kB / 1.05 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/1.857, allocations: 281 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006017/1.863, allocations: 1.594 MB / 1.052 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.863, allocations: 0 / 1.052 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.176e-06/1.863, allocations: 0 / 1.052 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.795e-05/1.863, allocations: 0 / 1.052 GB, free: 13.11 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006592/1.87, allocations: 1.501 MB / 1.054 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.361e-05/1.87, allocations: 12.03 kB / 1.054 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000502/1.87, allocations: 122.8 kB / 1.054 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/1.875, allocations: 0.5135 MB / 1.054 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004271/1.879, allocations: 1.059 MB / 1.055 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006934/1.88, allocations: 125.9 kB / 1.055 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/1.88, allocations: 87.89 kB / 1.055 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/1.884, allocations: 1.021 MB / 1.056 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/1.884, allocations: 11.92 kB / 1.056 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/1.885, allocations: 28 kB / 1.057 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/1.885, allocations: 20 kB / 1.057 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004883/1.89, allocations: 0.9954 MB / 1.057 GB, free: 7.465 MB / 0.8106 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.01513/1.905, allocations: 4.735 MB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007462/1.912, allocations: 1.126 MB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003147/1.915, allocations: 1.025 MB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/1.916, allocations: 39 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 8.396e-06/1.916, allocations: 4 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53): time 0.01504/1.931, allocations: 2.131 MB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/1.931, allocations: 59.84 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.935, allocations: 0.9512 MB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/1.935, allocations: 41.69 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008515/1.936, allocations: 0.508 MB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004258/1.936, allocations: 193.2 kB / 1.068 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/1.936, allocations: 12 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.936, allocations: 329.9 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/1.938, allocations: 376.9 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/1.941, allocations: 0.5273 MB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/1.943, allocations: 397.9 kB / 1.07 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/1.943, allocations: 0 / 1.07 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007083/1.95, allocations: 1.287 MB / 1.071 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.001012/1.951, allocations: 0.9751 MB / 1.072 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.951, allocations: 8 kB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/1.953, allocations: 328.5 kB / 1.072 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.954, allocations: 143.8 kB / 1.072 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/1.957, allocations: 0.9361 MB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/1.96, allocations: 171.3 kB / 1.073 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/1.96, allocations: 27.98 kB / 1.073 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.96, allocations: 4 kB / 1.073 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006642/1.967, allocations: 1.154 MB / 1.075 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.967, allocations: 4 kB / 1.075 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/1.969, allocations: 320.9 kB / 1.075 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.97, allocations: 143.8 kB / 1.075 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/1.973, allocations: 0.9285 MB / 1.076 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/1.975, allocations: 176.9 kB / 1.076 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.975, allocations: 31.97 kB / 1.076 GB, free: 3.562 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.001144/1.976, allocations: 348.9 kB / 1.076 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/1.977, allocations: 106.7 kB / 1.077 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/1.983, allocations: 1.229 MB / 1.078 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.425e-05/1.983, allocations: 15.94 kB / 1.078 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.983, allocations: 4 kB / 1.078 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.983, allocations: 0 / 1.078 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009753/1.993, allocations: 2.334 MB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/1.993, allocations: 0 / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.994, allocations: 120 kB / 1.08 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/1.996, allocations: 320.5 kB / 1.08 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.459e-05/1.996, allocations: 15.98 kB / 1.08 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/1.999, allocations: 0.9705 MB / 1.081 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.999, allocations: 3.984 kB / 1.081 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007339/2.007, allocations: 1.471 MB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/2.008, allocations: 299.4 kB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/2.009, allocations: 12 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/2.011, allocations: 127.8 kB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/2.011, allocations: 40.33 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/2.011, allocations: 27.97 kB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001919/2.013, allocations: 0.6637 MB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3e-07/2.013, allocations: 0 / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003159/2.016, allocations: 0.5769 MB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008041/2.024, allocations: 2.542 MB / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006891/2.031, allocations: 1.385 MB / 1.088 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.031, allocations: 0 / 1.088 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/2.034, allocations: 492.8 kB / 1.089 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/2.038, allocations: 0.4937 MB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/2.05, allocations: 4.648 MB / 1.094 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/2.052, allocations: 1.094 MB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002055/2.054, allocations: 232.5 kB / 1.095 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/2.055, allocations: 419.2 kB / 1.096 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of SimCode: time 1.923e-06/2.055, allocations: 0 / 1.096 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/2.227, allocations: 32.88 MB / 1.128 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005553/2.228, allocations: 270.7 kB / 1.128 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.16/7.388, allocations: 6.422 kB / 1.128 GB, free: 14.43 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat does not exist to compare? outputFormat=mat