Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.00127/0.00127, allocations: 100.1 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.001705/0.001705, allocations: 177.3 kB / 15.95 MB, free: 216 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.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 8 kB / 0.8375 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8197, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.2296/1.049, allocations: 251 MB / 1.226 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6896/1.739, allocations: 43.07 MB / 1.268 GB, free: 71.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01052/1.75, allocations: 246.3 kB / 1.268 GB, free: 71.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01453/1.764, allocations: 2.986 MB / 1.271 GB, free: 71.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03268/1.797, allocations: 9.227 MB / 1.28 GB, free: 71.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01903/1.816, allocations: 5.97 MB / 1.286 GB, free: 71.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02525/1.841, allocations: 10.84 MB / 1.297 GB, free: 71.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/1.853, allocations: 4.334 MB / 1.301 GB, free: 71.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01748/1.87, allocations: 5.4 MB / 1.306 GB, free: 71.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00974/1.88, allocations: 3.206 MB / 1.309 GB, free: 71.08 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002853/1.883, allocations: 230 kB / 1.309 GB, free: 71.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/1.896, allocations: 2.792 MB / 1.312 GB, free: 71.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002664/1.899, allocations: 1.026 MB / 1.313 GB, free: 71.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004275/1.903, allocations: 1.375 MB / 1.315 GB, free: 71.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.916, allocations: 7.306 MB / 1.322 GB, free: 70.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/1.916, allocations: 0 / 1.322 GB, free: 70.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/1.916, allocations: 0 / 1.322 GB, free: 70.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003498/1.916, allocations: 0 / 1.322 GB, free: 70.46 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01259/1.929, allocations: 6.252 MB / 1.328 GB, free: 66.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.929, allocations: 11.06 kB / 1.328 GB, free: 66.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001485/1.93, allocations: 0.5366 MB / 1.328 GB, free: 66.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/1.933, allocations: 0.7846 MB / 1.329 GB, free: 66.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/1.944, allocations: 4.692 MB / 1.334 GB, free: 64.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/1.945, allocations: 326.5 kB / 1.334 GB, free: 64.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007814/1.945, allocations: 438.5 kB / 1.334 GB, free: 64.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006898/1.952, allocations: 4.314 MB / 1.339 GB, free: 63.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.564e-05/1.952, allocations: 20.11 kB / 1.339 GB, free: 63.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/1.953, allocations: 181.3 kB / 1.339 GB, free: 63.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-05/1.953, allocations: 115.6 kB / 1.339 GB, free: 63.01 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/1.958, allocations: 2.941 MB / 1.342 GB, free: 62.6 MB / 0.9981 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.021/1.979, allocations: 25.17 MB / 1.366 GB, free: 43.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/1.981, allocations: 2.76 MB / 1.369 GB, free: 42.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/1.983, allocations: 3.907 MB / 1.373 GB, free: 37.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.983, allocations: 75.33 kB / 1.373 GB, free: 37.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=217): time 3.817e-06/1.983, allocations: 0 / 1.373 GB, free: 37.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=217): time 0.008982/1.992, allocations: 4.056 MB / 1.377 GB, free: 36.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/1.992, allocations: 82.92 kB / 1.377 GB, free: 36.33 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006546/1.998, allocations: 4.399 MB / 1.381 GB, free: 35.26 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005986/1.999, allocations: 81.02 kB / 1.381 GB, free: 35.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/2.001, allocations: 2.786 MB / 1.384 GB, free: 33.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007818/2.002, allocations: 0.7602 MB / 1.385 GB, free: 33.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/2.002, allocations: 60.81 kB / 1.385 GB, free: 33.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/2.002, allocations: 415.7 kB / 1.385 GB, free: 32.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/2.003, allocations: 0.7847 MB / 1.386 GB, free: 32.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/2.004, allocations: 1.784 MB / 1.388 GB, free: 30.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/2.006, allocations: 1.079 MB / 1.389 GB, free: 29.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/2.006, allocations: 8 kB / 1.389 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006562/2.012, allocations: 3.49 MB / 1.392 GB, free: 27.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001349/2.014, allocations: 10.32 MB / 1.402 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/2.014, allocations: 24 kB / 1.402 GB, free: 16.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/2.016, allocations: 0.5663 MB / 1.403 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/2.018, allocations: 0.5566 MB / 1.403 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/2.019, allocations: 2.696 MB / 1.406 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/2.024, allocations: 0.6175 MB / 1.407 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000347/2.025, allocations: 133.3 kB / 1.407 GB, free: 12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/2.025, allocations: 4 kB / 1.407 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004292/2.029, allocations: 2.802 MB / 1.41 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/2.029, allocations: 21 kB / 1.41 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008315/2.03, allocations: 368.7 kB / 1.41 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/2.031, allocations: 0.5555 MB / 1.41 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006329/2.038, allocations: 7.793 MB / 1.418 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/2.042, allocations: 0.5687 MB / 1.419 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/2.043, allocations: 130.3 kB / 1.419 GB, free: 1.449 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00234/2.045, allocations: 1.011 MB / 1.42 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/2.047, allocations: 0.5123 MB / 1.42 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006255/2.053, allocations: 3.565 MB / 1.424 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/2.053, allocations: 35.23 kB / 1.424 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/2.053, allocations: 8 kB / 1.424 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003879/2.057, allocations: 2.432 MB / 1.426 GB, free: 12.1 MB / 1.014 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.01652/2.073, allocations: 8.291 MB / 1.434 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/2.073, allocations: 4 kB / 1.434 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/2.075, allocations: 369.1 kB / 1.435 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007394/2.076, allocations: 311 kB / 1.435 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/2.076, allocations: 59.22 kB / 1.435 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/2.078, allocations: 2.492 MB / 1.437 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.078, allocations: 3.984 kB / 1.437 GB, free: 3.098 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007736/2.085, allocations: 4.438 MB / 1.442 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003136/2.089, allocations: 1.024 MB / 1.443 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/2.09, allocations: 45.25 kB / 1.443 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00383/2.094, allocations: 429.5 kB / 1.443 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/2.094, allocations: 152.3 kB / 1.443 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/2.094, allocations: 119.2 kB / 1.443 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004909/2.099, allocations: 2.914 MB / 1.446 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.71e-07/2.099, allocations: 0 / 1.446 GB, free: 12.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01281/2.112, allocations: 3.32 MB / 1.449 GB, free: 9.367 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01084/2.123, allocations: 6.396 MB / 1.456 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007578/2.13, allocations: 4.4 MB / 1.46 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/2.13, allocations: 4 kB / 1.46 GB, free: 1.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/2.133, allocations: 1.231 MB / 1.461 GB, free: 392 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01392/2.147, allocations: 2.598 MB / 1.464 GB, free: 14.24 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/2.178, allocations: 29.37 MB / 1.492 GB, free: 0.875 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/2.181, allocations: 2.992 MB / 1.495 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005483/2.186, allocations: 1.161 MB / 1.497 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003517/2.19, allocations: 2.539 MB / 1.499 GB, free: 11.96 MB / 1.076 GB Notification: Performance of SimCode: time 1.463e-06/2.19, allocations: 4 kB / 1.499 GB, free: 11.96 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2312/2.421, allocations: 148 MB / 1.644 GB, free: 10.13 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/2.421, allocations: 261.5 kB / 1.644 GB, free: 9.789 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/9.252, allocations: 0 / 1.644 GB, free: 9.789 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat does not exist to compare? outputFormat=mat