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/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.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/Buildings 10.0.0-master/package.mo): time 2.69/2.69, allocations: 390.5 MB / 398 MB, free: 10.94 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.001545/0.001545, allocations: 175.9 kB / 491.2 MB, free: 1.555 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.743/1.743, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001114/0.001114, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.499e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.358, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.443/1.801, allocations: 422 MB / 1.624 GB, free: 8.586 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.802, allocations: 89.77 kB / 1.625 GB, free: 8.543 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 10.66/12.46, allocations: 2.786 GB / 4.41 GB, free: 76.85 MB / 1.26 GB Notification: Performance of FrontEnd: time 1.994e-06/12.46, allocations: 0 / 4.41 GB, free: 76.85 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0007905/12.46, allocations: 177.3 kB / 4.41 GB, free: 76.81 MB / 1.26 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.01671/12.48, allocations: 5.91 MB / 4.416 GB, free: 73.34 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/12.48, allocations: 12.81 kB / 4.416 GB, free: 73.34 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/12.48, allocations: 0.7805 MB / 4.417 GB, free: 72.96 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1162/12.6, allocations: 60.52 MB / 4.476 GB, free: 29.28 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/12.6, allocations: 128 kB / 4.476 GB, free: 29.16 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009223/12.6, allocations: 259.9 kB / 4.476 GB, free: 28.9 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005445/12.6, allocations: 2.521 MB / 4.479 GB, free: 26.38 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006516/12.61, allocations: 3.606 MB / 4.482 GB, free: 22.5 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/12.61, allocations: 11.94 kB / 4.482 GB, free: 22.48 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/12.61, allocations: 8.516 kB / 4.482 GB, free: 22.48 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/12.61, allocations: 123.9 kB / 4.482 GB, free: 22.36 MB / 1.26 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.03157/12.64, allocations: 23.37 MB / 4.505 GB, free: 13.39 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/12.65, allocations: 2.847 MB / 4.508 GB, free: 10.34 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/12.65, allocations: 0.9896 MB / 4.509 GB, free: 9.344 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00332/12.65, allocations: 3.931 MB / 4.513 GB, free: 4.547 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.772e-05/12.65, allocations: 68.52 kB / 4.513 GB, free: 4.469 MB / 1.276 GB Notification: Performance of pre-optimization done (n=225): time 4.148e-06/12.65, allocations: 0 / 4.513 GB, free: 4.469 MB / 1.276 GB Notification: Performance of matching and sorting (n=225): time 0.008883/12.66, allocations: 2.901 MB / 4.516 GB, free: 1.543 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/12.66, allocations: 73.41 kB / 4.516 GB, free: 1.461 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006394/12.67, allocations: 3.307 MB / 4.519 GB, free: 14.19 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005105/12.67, allocations: 29.7 kB / 4.519 GB, free: 14.15 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002385/12.67, allocations: 2.793 MB / 4.522 GB, free: 11.33 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/12.67, allocations: 0.7504 MB / 4.523 GB, free: 10.57 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/12.67, allocations: 4 kB / 4.523 GB, free: 10.56 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0002113/12.67, allocations: 415.4 kB / 4.523 GB, free: 10.15 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/12.67, allocations: 0.7239 MB / 4.524 GB, free: 9.426 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/12.67, allocations: 1.699 MB / 4.525 GB, free: 7.281 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/12.68, allocations: 1.364 MB / 4.527 GB, free: 5.922 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/12.68, allocations: 8 kB / 4.527 GB, free: 5.914 MB / 1.292 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009375/12.69, allocations: 3.47 MB / 4.53 GB, free: 2.418 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.077/13.76, allocations: 10.32 MB / 4.54 GB, free: 89.43 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.389e-05/13.76, allocations: 21.47 kB / 4.54 GB, free: 89.43 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/13.76, allocations: 339.5 kB / 4.54 GB, free: 89.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/13.77, allocations: 0.527 MB / 4.541 GB, free: 89.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/13.77, allocations: 2.754 MB / 4.544 GB, free: 87.33 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005991/13.78, allocations: 0.49 MB / 4.544 GB, free: 87.33 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004538/13.78, allocations: 131.4 kB / 4.544 GB, free: 87.33 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/13.78, allocations: 5.031 kB / 4.544 GB, free: 87.33 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008094/13.78, allocations: 2.755 MB / 4.547 GB, free: 87.27 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/13.78, allocations: 20.56 kB / 4.547 GB, free: 87.27 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/13.79, allocations: 354 kB / 4.547 GB, free: 87.24 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/13.79, allocations: 0.5252 MB / 4.548 GB, free: 87.24 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/13.8, allocations: 7.405 MB / 4.555 GB, free: 81.95 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007014/13.8, allocations: 458.7 kB / 4.555 GB, free: 81.95 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000706/13.8, allocations: 125.1 kB / 4.556 GB, free: 81.95 MB / 1.292 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.0009819/13.8, allocations: 185.5 kB / 4.556 GB, free: 81.85 MB / 1.292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008893/13.81, allocations: 2.751 MB / 4.558 GB, free: 81.67 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/13.82, allocations: 0.5018 MB / 4.559 GB, free: 81.41 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/13.83, allocations: 3.76 MB / 4.563 GB, free: 81.13 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.434e-05/13.83, allocations: 40.83 kB / 4.563 GB, free: 81.13 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/13.83, allocations: 0 / 4.563 GB, free: 81.13 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006457/13.83, allocations: 2.628 MB / 4.565 GB, free: 80.93 MB / 1.292 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.02469/13.86, allocations: 8.101 MB / 4.573 GB, free: 79.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/13.86, allocations: 1.031 kB / 4.573 GB, free: 79.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/13.86, allocations: 384.7 kB / 4.574 GB, free: 79.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006028/13.86, allocations: 226 kB / 4.574 GB, free: 79.47 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/13.86, allocations: 39.11 kB / 4.574 GB, free: 79.47 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/13.86, allocations: 2.503 MB / 4.576 GB, free: 77.39 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/13.86, allocations: 6.484 kB / 4.576 GB, free: 77.38 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/13.87, allocations: 4.707 MB / 4.581 GB, free: 76.63 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004557/13.88, allocations: 0.9865 MB / 4.582 GB, free: 76.27 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/13.88, allocations: 4.547 kB / 4.582 GB, free: 76.27 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005218/13.89, allocations: 396.6 kB / 4.582 GB, free: 76.25 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/13.89, allocations: 158.6 kB / 4.582 GB, free: 76.24 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003434/13.89, allocations: 113.1 kB / 4.582 GB, free: 76.24 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.005317/13.89, allocations: 2.451 MB / 4.585 GB, free: 76.06 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.11e-07/13.89, allocations: 1.156 kB / 4.585 GB, free: 76.06 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01776/13.91, allocations: 3.449 MB / 4.588 GB, free: 75.88 MB / 1.292 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.01856/13.93, allocations: 8.575 MB / 4.597 GB, free: 73.38 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.00879/13.94, allocations: 4.247 MB / 4.601 GB, free: 72.84 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/13.94, allocations: 0 / 4.601 GB, free: 72.84 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/13.94, allocations: 1.231 MB / 4.602 GB, free: 72.82 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01634/13.96, allocations: 2.604 MB / 4.604 GB, free: 72.8 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/13.98, allocations: 8.353 MB / 4.613 GB, free: 70.77 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/13.98, allocations: 3.007 MB / 4.616 GB, free: 69.97 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.008618/13.99, allocations: 1.493 MB / 4.617 GB, free: 69.92 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003575/13.99, allocations: 2.455 MB / 4.619 GB, free: 69.92 MB / 1.292 GB Notification: Performance of SimCode: time 9.92e-07/13.99, allocations: 0 / 4.619 GB, free: 69.92 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2945/14.29, allocations: 160.7 MB / 4.776 GB, free: 59.91 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/14.29, allocations: 182.3 kB / 4.776 GB, free: 59.71 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.311/23.6, allocations: 2.516 kB / 4.776 GB, free: 59.71 MB / 1.292 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) 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