Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001005/0.001005, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.489/1.489, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 91.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.127e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.611, allocations: 421.1 MB / 1.617 GB, free: 1.34 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.611, allocations: 91.39 kB / 1.617 GB, free: 1.297 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 11.43/13.04, allocations: 2.785 GB / 4.403 GB, free: 49.51 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.623e-06/13.04, allocations: 0 / 4.403 GB, free: 49.51 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001146/13.04, allocations: 177.3 kB / 4.403 GB, free: 49.35 MB / 1.245 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.01929/13.06, allocations: 5.917 MB / 4.409 GB, free: 43.38 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/13.06, allocations: 19.95 kB / 4.409 GB, free: 43.36 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/13.06, allocations: 0.7734 MB / 4.41 GB, free: 42.58 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1275/13.19, allocations: 60.52 MB / 4.469 GB, free: 14.25 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/13.19, allocations: 135.9 kB / 4.469 GB, free: 14.11 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/13.19, allocations: 246.3 kB / 4.469 GB, free: 13.88 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008317/13.2, allocations: 2.527 MB / 4.472 GB, free: 11.34 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/13.21, allocations: 3.605 MB / 4.475 GB, free: 7.457 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002137/13.21, allocations: 19.78 kB / 4.475 GB, free: 7.438 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008549/13.21, allocations: 11.19 kB / 4.475 GB, free: 7.43 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/13.21, allocations: 120 kB / 4.475 GB, free: 7.312 MB / 1.276 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 1.099/14.31, allocations: 23.35 MB / 4.498 GB, free: 69.62 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/14.32, allocations: 2.842 MB / 4.501 GB, free: 68.47 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/14.32, allocations: 0.9889 MB / 4.502 GB, free: 68.45 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002567/14.32, allocations: 3.938 MB / 4.506 GB, free: 64.04 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/14.32, allocations: 65.03 kB / 4.506 GB, free: 64 MB / 1.276 GB Notification: Performance of pre-optimization done (n=225): time 4.949e-06/14.32, allocations: 0 / 4.506 GB, free: 64 MB / 1.276 GB Notification: Performance of matching and sorting (n=225): time 0.009525/14.33, allocations: 2.891 MB / 4.509 GB, free: 63.65 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/14.33, allocations: 74.81 kB / 4.509 GB, free: 63.59 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007044/14.34, allocations: 3.304 MB / 4.512 GB, free: 63.3 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0004409/14.34, allocations: 31.95 kB / 4.512 GB, free: 63.27 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.002308/14.34, allocations: 2.792 MB / 4.515 GB, free: 62.63 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/14.34, allocations: 0.7603 MB / 4.515 GB, free: 62.23 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/14.34, allocations: 6 kB / 4.515 GB, free: 62.23 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001787/14.34, allocations: 403.4 kB / 4.516 GB, free: 61.93 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/14.34, allocations: 0.7329 MB / 4.516 GB, free: 61.92 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/14.35, allocations: 1.691 MB / 4.518 GB, free: 60.77 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/14.35, allocations: 1.369 MB / 4.519 GB, free: 60.75 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/14.35, allocations: 3.938 kB / 4.519 GB, free: 60.75 MB / 1.276 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009384/14.36, allocations: 3.488 MB / 4.523 GB, free: 60.36 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.002741/14.36, allocations: 10.32 MB / 4.533 GB, free: 49.61 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/14.36, allocations: 18.69 kB / 4.533 GB, free: 49.61 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009188/14.36, allocations: 342.7 kB / 4.533 GB, free: 49.57 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/14.36, allocations: 0.5252 MB / 4.534 GB, free: 49.57 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/14.37, allocations: 2.757 MB / 4.536 GB, free: 47.49 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00731/14.37, allocations: 497.6 kB / 4.537 GB, free: 47.41 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004185/14.37, allocations: 136.1 kB / 4.537 GB, free: 47.41 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/14.37, allocations: 4.469 kB / 4.537 GB, free: 47.41 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007391/14.38, allocations: 2.75 MB / 4.54 GB, free: 47.32 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.398e-05/14.38, allocations: 21.56 kB / 4.54 GB, free: 47.32 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/14.38, allocations: 349.6 kB / 4.54 GB, free: 47.29 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/14.38, allocations: 0.526 MB / 4.541 GB, free: 47.29 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008217/14.39, allocations: 7.401 MB / 4.548 GB, free: 41.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006398/14.4, allocations: 453.3 kB / 4.548 GB, free: 41.84 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007119/14.4, allocations: 128.6 kB / 4.548 GB, free: 41.84 MB / 1.276 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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.001348/14.4, allocations: 182.8 kB / 4.549 GB, free: 41.74 MB / 1.276 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009956/14.41, allocations: 2.76 MB / 4.551 GB, free: 41.34 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002307/14.41, allocations: 0.4993 MB / 4.552 GB, free: 41.08 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/14.42, allocations: 3.763 MB / 4.555 GB, free: 40.8 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.937e-05/14.42, allocations: 38.19 kB / 4.555 GB, free: 40.8 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/14.42, allocations: 2.156 kB / 4.555 GB, free: 40.8 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006757/14.43, allocations: 2.638 MB / 4.558 GB, free: 40.59 MB / 1.276 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 postOpt removeSimpleEquations (simulation): time 0.02555/14.46, allocations: 8.085 MB / 4.566 GB, free: 39.16 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/14.46, allocations: 1.844 kB / 4.566 GB, free: 39.16 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/14.46, allocations: 391.5 kB / 4.566 GB, free: 39.16 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005752/14.46, allocations: 228.8 kB / 4.567 GB, free: 39.13 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/14.46, allocations: 34.16 kB / 4.567 GB, free: 39.13 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/14.46, allocations: 2.505 MB / 4.569 GB, free: 37.05 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/14.46, allocations: 9.297 kB / 4.569 GB, free: 37.05 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/14.47, allocations: 4.713 MB / 4.574 GB, free: 36.29 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005165/14.48, allocations: 0.9807 MB / 4.575 GB, free: 35.93 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/14.48, allocations: 5.438 kB / 4.575 GB, free: 35.93 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005581/14.49, allocations: 400.2 kB / 4.575 GB, free: 35.91 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/14.49, allocations: 158.3 kB / 4.575 GB, free: 35.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003934/14.49, allocations: 116.1 kB / 4.575 GB, free: 35.9 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.007454/14.49, allocations: 2.445 MB / 4.578 GB, free: 35.72 MB / 1.276 GB Notification: Performance of sort global known variables: time 5.51e-07/14.49, allocations: 5.312 kB / 4.578 GB, free: 35.72 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0234/14.52, allocations: 3.442 MB / 4.581 GB, free: 35.53 MB / 1.276 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * 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.02009/14.54, allocations: 8.57 MB / 4.589 GB, free: 33.04 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.008252/14.55, allocations: 4.24 MB / 4.593 GB, free: 32.5 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/14.55, allocations: 1.969 kB / 4.593 GB, free: 32.5 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/14.55, allocations: 1.233 MB / 4.595 GB, free: 32.48 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01686/14.57, allocations: 2.609 MB / 4.597 GB, free: 32.46 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/14.59, allocations: 8.35 MB / 4.605 GB, free: 30.44 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005016/14.6, allocations: 3.012 MB / 4.608 GB, free: 29.63 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01083/14.61, allocations: 1.487 MB / 4.61 GB, free: 29.58 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004806/14.61, allocations: 2.458 MB / 4.612 GB, free: 29.58 MB / 1.276 GB Notification: Performance of SimCode: time 1.983e-06/14.61, allocations: 0 / 4.612 GB, free: 29.58 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2689/14.88, allocations: 160.7 MB / 4.769 GB, free: 19.35 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/14.88, allocations: 173.3 kB / 4.769 GB, free: 19.16 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/23.44, allocations: 7.938 kB / 4.769 GB, free: 19.15 MB / 1.276 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat does not exist to compare? outputFormat=mat