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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 180 kB / 0.4901 GB, free: 2.078 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 104 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004174, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3155, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/1.523, allocations: 435.5 MB / 1.655 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.523, allocations: 91.33 kB / 1.655 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.871/3.393, allocations: 0.6519 GB / 2.307 GB, free: 13.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.415e-06/3.393, allocations: 0 / 2.307 GB, free: 13.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001149/3.394, allocations: 35.92 kB / 2.307 GB, free: 13.57 MB / 1.167 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.003561/3.397, allocations: 1.724 MB / 2.308 GB, free: 11.78 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/3.397, allocations: 12.03 kB / 2.308 GB, free: 11.77 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/3.397, allocations: 122.8 kB / 2.308 GB, free: 11.64 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/3.4, allocations: 497.9 kB / 2.309 GB, free: 11.15 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/3.402, allocations: 1.329 MB / 2.31 GB, free: 9.766 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/3.402, allocations: 138.1 kB / 2.31 GB, free: 9.629 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/3.403, allocations: 80 kB / 2.31 GB, free: 9.551 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/3.404, allocations: 1.03 MB / 2.311 GB, free: 8.488 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/3.404, allocations: 0 / 2.311 GB, free: 8.488 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/3.404, allocations: 32 kB / 2.311 GB, free: 8.457 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/3.405, allocations: 29.94 kB / 2.311 GB, free: 8.426 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/3.407, allocations: 0.9837 MB / 2.312 GB, free: 7.441 MB / 1.167 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.005317/3.412, allocations: 4.54 MB / 2.317 GB, free: 2.578 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/3.416, allocations: 1.117 MB / 2.318 GB, free: 1.453 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/3.416, allocations: 1.017 MB / 2.319 GB, free: 220 kB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/3.416, allocations: 46.89 kB / 2.319 GB, free: 164 kB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.625e-06/3.416, allocations: 0 / 2.319 GB, free: 164 kB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.7931/4.21, allocations: 2.558 MB / 2.321 GB, free: 252.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/4.21, allocations: 63.64 kB / 2.322 GB, free: 252.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/4.211, allocations: 0.8267 MB / 2.322 GB, free: 252.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/4.211, allocations: 41.45 kB / 2.322 GB, free: 252.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/4.212, allocations: 0.5011 MB / 2.323 GB, free: 252.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/4.212, allocations: 187.2 kB / 2.323 GB, free: 252 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/4.212, allocations: 11.19 kB / 2.323 GB, free: 252 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/4.212, allocations: 330.4 kB / 2.323 GB, free: 251.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/4.213, allocations: 357.1 kB / 2.324 GB, free: 251.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/4.214, allocations: 0.546 MB / 2.324 GB, free: 251.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/4.215, allocations: 382.6 kB / 2.325 GB, free: 251.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/4.215, allocations: 0.8125 kB / 2.325 GB, free: 251.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003147/4.218, allocations: 1.112 MB / 2.326 GB, free: 251.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002366/4.219, allocations: 0.968 MB / 2.327 GB, free: 250.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/4.219, allocations: 3.156 kB / 2.327 GB, free: 250.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/4.22, allocations: 473.5 kB / 2.327 GB, free: 250.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/4.221, allocations: 120.6 kB / 2.327 GB, free: 250.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/4.223, allocations: 1.087 MB / 2.328 GB, free: 249.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/4.224, allocations: 165 kB / 2.328 GB, free: 249.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/4.225, allocations: 35.89 kB / 2.328 GB, free: 249.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/4.225, allocations: 7.656 kB / 2.328 GB, free: 249.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002777/4.227, allocations: 0.9835 MB / 2.329 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/4.227, allocations: 3 kB / 2.329 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/4.229, allocations: 457.3 kB / 2.33 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/4.229, allocations: 117 kB / 2.33 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/4.231, allocations: 1.089 MB / 2.331 GB, free: 249.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/4.233, allocations: 169.3 kB / 2.331 GB, free: 249.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/4.233, allocations: 34.61 kB / 2.331 GB, free: 249.3 MB / 1.167 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 (46): * Single equations (assignments): 45 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006957/4.233, allocations: 352 kB / 2.332 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/4.234, allocations: 107.1 kB / 2.332 GB, free: 249 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/4.239, allocations: 1.485 MB / 2.333 GB, free: 249 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/4.239, allocations: 6.266 kB / 2.333 GB, free: 249 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/4.239, allocations: 1.062 kB / 2.333 GB, free: 249 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/4.239, allocations: 3.969 kB / 2.333 GB, free: 249 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/4.245, allocations: 2.522 MB / 2.336 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/4.245, allocations: 3.328 kB / 2.336 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/4.246, allocations: 111.1 kB / 2.336 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/4.248, allocations: 467 kB / 2.336 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/4.248, allocations: 18.34 kB / 2.336 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/4.249, allocations: 1.12 MB / 2.337 GB, free: 248 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/4.25, allocations: 7.359 kB / 2.337 GB, free: 248 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/4.255, allocations: 1.688 MB / 2.339 GB, free: 247.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009564/4.256, allocations: 292.6 kB / 2.339 GB, free: 247.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/4.257, allocations: 16.77 kB / 2.339 GB, free: 247.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/4.258, allocations: 131.1 kB / 2.339 GB, free: 247.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/4.258, allocations: 37.95 kB / 2.339 GB, free: 247.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/4.258, allocations: 24.78 kB / 2.339 GB, free: 247.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001404/4.26, allocations: 0.6644 MB / 2.34 GB, free: 247.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/4.26, allocations: 2.734 kB / 2.34 GB, free: 247.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002876/4.263, allocations: 0.6267 MB / 2.341 GB, free: 247.4 MB / 1.167 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 (39): * Single equations (assignments): 35 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.007201/4.27, allocations: 3.076 MB / 2.344 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004589/4.274, allocations: 1.348 MB / 2.345 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/4.274, allocations: 0 / 2.345 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/4.276, allocations: 0.4885 MB / 2.345 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/4.279, allocations: 0.5033 MB / 2.346 GB, free: 246 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/4.295, allocations: 8.256 MB / 2.354 GB, free: 242.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/4.296, allocations: 1.09 MB / 2.355 GB, free: 241.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001419/4.298, allocations: 220.2 kB / 2.355 GB, free: 241.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/4.298, allocations: 413 kB / 2.356 GB, free: 241.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/4.298, allocations: 3.938 kB / 2.356 GB, free: 241.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07071/4.369, allocations: 39.26 MB / 2.394 GB, free: 240.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/4.369, allocations: 260.5 kB / 2.394 GB, free: 240.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/7.745, allocations: 0 / 2.394 GB, free: 240.6 MB / 1.167 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) 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