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.22/2.22, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001222/0.001222, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009301/0.0009301, allocations: 80.02 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.076e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2727, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.499, allocations: 435.4 MB / 1.644 GB, free: 15 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.5, allocations: 91.94 kB / 1.644 GB, free: 14.91 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.859/4.359, allocations: 0.6498 GB / 2.294 GB, free: 241.6 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.263e-06/4.359, allocations: 2.969 kB / 2.294 GB, free: 241.6 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002153/4.359, allocations: 42.34 kB / 2.294 GB, free: 241.6 MB / 1.135 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.004455/4.363, allocations: 1.497 MB / 2.295 GB, free: 240.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/4.363, allocations: 9.156 kB / 2.295 GB, free: 240.5 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003524/4.364, allocations: 123.7 kB / 2.296 GB, free: 240.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/4.367, allocations: 489.9 kB / 2.296 GB, free: 240.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/4.37, allocations: 1.313 MB / 2.297 GB, free: 239.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/4.371, allocations: 127.9 kB / 2.297 GB, free: 239.2 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/4.371, allocations: 82.31 kB / 2.298 GB, free: 239.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/4.373, allocations: 0.8822 MB / 2.298 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/4.373, allocations: 7.891 kB / 2.298 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/4.373, allocations: 35.41 kB / 2.298 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/4.373, allocations: 34.36 kB / 2.298 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/4.374, allocations: 0.6957 MB / 2.299 GB, free: 238.2 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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.006147/4.38, allocations: 4.535 MB / 2.304 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/4.383, allocations: 0.8034 MB / 2.304 GB, free: 234 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/4.383, allocations: 291.6 kB / 2.305 GB, free: 233.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007934/4.384, allocations: 1.019 MB / 2.306 GB, free: 232.7 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/4.384, allocations: 38.75 kB / 2.306 GB, free: 232.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.876e-06/4.384, allocations: 2.844 kB / 2.306 GB, free: 232.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.001489/4.385, allocations: 0.7348 MB / 2.306 GB, free: 232.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/4.386, allocations: 59.31 kB / 2.306 GB, free: 232.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/4.387, allocations: 0.8188 MB / 2.307 GB, free: 231.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-05/4.387, allocations: 41.48 kB / 2.307 GB, free: 231.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/4.387, allocations: 0.5044 MB / 2.308 GB, free: 231.3 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/4.387, allocations: 190.7 kB / 2.308 GB, free: 231.1 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/4.387, allocations: 8 kB / 2.308 GB, free: 231.1 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/4.387, allocations: 324.4 kB / 2.308 GB, free: 230.8 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/4.388, allocations: 217.3 kB / 2.309 GB, free: 230.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/4.388, allocations: 413.4 kB / 2.309 GB, free: 230.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/4.389, allocations: 236.1 kB / 2.309 GB, free: 230.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/4.389, allocations: 0 / 2.309 GB, free: 230.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001289/4.39, allocations: 0.7639 MB / 2.31 GB, free: 229.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/4.39, allocations: 0.9716 MB / 2.311 GB, free: 228.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/4.39, allocations: 3.719 kB / 2.311 GB, free: 228.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/4.391, allocations: 334.2 kB / 2.311 GB, free: 228.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/4.392, allocations: 121.4 kB / 2.311 GB, free: 228.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009118/4.393, allocations: 0.8872 MB / 2.312 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/4.394, allocations: 168.8 kB / 2.312 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/4.394, allocations: 32.88 kB / 2.312 GB, free: 227.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/4.394, allocations: 7.406 kB / 2.312 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/4.395, allocations: 0.64 MB / 2.313 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/4.395, allocations: 3.875 kB / 2.313 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007965/4.396, allocations: 321.4 kB / 2.313 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/4.396, allocations: 119.6 kB / 2.313 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008357/4.397, allocations: 0.8914 MB / 2.314 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/4.398, allocations: 172.2 kB / 2.314 GB, free: 226.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/4.398, allocations: 35.02 kB / 2.314 GB, free: 226.6 MB / 1.135 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 () * 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.0001793/4.399, allocations: 128.9 kB / 2.315 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/4.399, allocations: 111.8 kB / 2.315 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/4.402, allocations: 1.141 MB / 2.316 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/4.402, allocations: 3.969 kB / 2.316 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/4.402, allocations: 0 / 2.316 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/4.402, allocations: 3.984 kB / 2.316 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/4.406, allocations: 2.184 MB / 2.318 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/4.406, allocations: 7.734 kB / 2.318 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/4.407, allocations: 100.4 kB / 2.318 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007669/4.407, allocations: 330.8 kB / 2.318 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/4.408, allocations: 19.61 kB / 2.318 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/4.408, allocations: 0.9185 MB / 2.319 GB, free: 223.4 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/4.408, allocations: 7.797 kB / 2.319 GB, free: 223.4 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/4.412, allocations: 1.343 MB / 2.321 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/4.412, allocations: 291.2 kB / 2.321 GB, free: 222.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/4.413, allocations: 11.38 kB / 2.321 GB, free: 222.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/4.414, allocations: 132.6 kB / 2.321 GB, free: 222.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/4.414, allocations: 43.2 kB / 2.321 GB, free: 222.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/4.414, allocations: 26.78 kB / 2.321 GB, free: 222.3 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0009185/4.415, allocations: 0.6497 MB / 2.322 GB, free: 221.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.4e-07/4.415, allocations: 0 / 2.322 GB, free: 221.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002116/4.417, allocations: 0.6286 MB / 2.322 GB, free: 221.4 MB / 1.135 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 () * 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.004379/4.421, allocations: 2.731 MB / 2.325 GB, free: 218.7 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001858/4.423, allocations: 0.9729 MB / 2.326 GB, free: 217.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/4.423, allocations: 0 / 2.326 GB, free: 217.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/4.424, allocations: 355.1 kB / 2.326 GB, free: 217.4 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/4.426, allocations: 0.5028 MB / 2.327 GB, free: 217 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/4.43, allocations: 1.634 MB / 2.328 GB, free: 215.3 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/4.431, allocations: 1.097 MB / 2.329 GB, free: 214.2 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001361/4.432, allocations: 270.4 kB / 2.33 GB, free: 213.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/4.432, allocations: 399.3 kB / 2.33 GB, free: 213.6 MB / 1.135 GB Notification: Performance of SimCode: time 6.21e-07/4.432, allocations: 0 / 2.33 GB, free: 213.6 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/4.5, allocations: 41.29 MB / 2.37 GB, free: 173.7 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/4.5, allocations: 232.5 kB / 2.371 GB, free: 173.4 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.262/7.762, allocations: 5.406 kB / 2.371 GB, free: 173.4 MB / 1.135 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