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.0009386/0.0009386, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001171/0.001171, allocations: 168.7 kB / 15.95 MB, free: 204 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.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.527/2.527, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.0005008, allocations: 15.98 kB / 0.8378 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.736, allocations: 146.8 MB / 0.9811 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.2439/0.9799, allocations: 277.6 MB / 1.252 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7074/1.687, allocations: 47.02 MB / 1.298 GB, free: 76.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01232/1.7, allocations: 260.4 kB / 1.298 GB, free: 76.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/1.71, allocations: 2.389 MB / 1.301 GB, free: 76.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02717/1.737, allocations: 7.26 MB / 1.308 GB, free: 75.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0165/1.754, allocations: 4.767 MB / 1.312 GB, free: 75.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03075/1.785, allocations: 21.08 MB / 1.333 GB, free: 73.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009428/1.794, allocations: 4.295 MB / 1.337 GB, free: 73.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/1.81, allocations: 5.895 MB / 1.343 GB, free: 71.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/1.821, allocations: 4.602 MB / 1.347 GB, free: 69.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002703/1.824, allocations: 230.8 kB / 1.348 GB, free: 69.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/1.838, allocations: 2.638 MB / 1.35 GB, free: 68.67 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003558/1.841, allocations: 1.068 MB / 1.351 GB, free: 68.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004896/1.846, allocations: 1.373 MB / 1.353 GB, free: 67.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/1.861, allocations: 7.432 MB / 1.36 GB, free: 64.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/1.861, allocations: 4.797 kB / 1.36 GB, free: 64.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.861, allocations: 4 kB / 1.36 GB, free: 64.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004675/1.861, allocations: 0.5938 kB / 1.36 GB, free: 64.1 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.01465/1.876, allocations: 6.264 MB / 1.366 GB, free: 60.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.876, allocations: 9.75 kB / 1.366 GB, free: 60.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001992/1.878, allocations: 0.539 MB / 1.367 GB, free: 60.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/1.881, allocations: 0.7828 MB / 1.367 GB, free: 59.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/1.893, allocations: 5.005 MB / 1.372 GB, free: 57.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/1.893, allocations: 323.3 kB / 1.373 GB, free: 57.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006668/1.894, allocations: 431.8 kB / 1.373 GB, free: 57.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00635/1.9, allocations: 4.356 MB / 1.377 GB, free: 54.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-05/1.9, allocations: 15.78 kB / 1.377 GB, free: 54.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/1.9, allocations: 175.1 kB / 1.377 GB, free: 54.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/1.901, allocations: 118.8 kB / 1.378 GB, free: 54.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004351/1.905, allocations: 2.945 MB / 1.38 GB, free: 52.8 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.02181/1.927, allocations: 25.03 MB / 1.405 GB, free: 29.96 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/1.929, allocations: 2.763 MB / 1.408 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/1.93, allocations: 1.002 MB / 1.409 GB, free: 27.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.932, allocations: 3.918 MB / 1.412 GB, free: 22.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/1.932, allocations: 64.69 kB / 1.412 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=217): time 3.987e-06/1.932, allocations: 0 / 1.412 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=217): time 0.008712/1.941, allocations: 4.061 MB / 1.416 GB, free: 19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.941, allocations: 77.36 kB / 1.416 GB, free: 18.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/1.947, allocations: 4.191 MB / 1.421 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005559/1.947, allocations: 81.7 kB / 1.421 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/1.949, allocations: 2.794 MB / 1.423 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009275/1.95, allocations: 0.7609 MB / 1.424 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.95, allocations: 60 kB / 1.424 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.95, allocations: 411.9 kB / 1.425 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.952, allocations: 0.7903 MB / 1.425 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.954, allocations: 1.79 MB / 1.427 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/1.955, allocations: 1.082 MB / 1.428 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/1.955, allocations: 8 kB / 1.428 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006844/1.962, allocations: 3.494 MB / 1.432 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003785/1.962, allocations: 0.736 MB / 1.432 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/1.962, allocations: 28 kB / 1.432 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/1.964, allocations: 0.5688 MB / 1.433 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/1.966, allocations: 0.5577 MB / 1.433 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/1.968, allocations: 2.688 MB / 1.436 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.973, allocations: 0.6003 MB / 1.437 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/1.973, allocations: 132 kB / 1.437 GB, free: 13.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.973, allocations: 4 kB / 1.437 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005044/1.978, allocations: 2.806 MB / 1.439 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/1.979, allocations: 20 kB / 1.439 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/1.979, allocations: 368.9 kB / 1.44 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/1.981, allocations: 0.55 MB / 1.44 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008669/1.99, allocations: 7.714 MB / 1.448 GB, free: 1.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006007/1.996, allocations: 0.5458 MB / 1.448 GB, free: 1.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009966/1.997, allocations: 139.9 kB / 1.449 GB, free: 1.012 MB / 1.014 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.003852/2.001, allocations: 1.005 MB / 1.45 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002095/2.003, allocations: 0.5055 MB / 1.45 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007097/2.01, allocations: 3.579 MB / 1.454 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/2.01, allocations: 35.98 kB / 1.454 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/2.01, allocations: 3.938 kB / 1.454 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00376/2.014, allocations: 2.434 MB / 1.456 GB, free: 9.336 MB / 1.029 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.01569/2.03, allocations: 8.203 MB / 1.464 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/2.03, allocations: 0 / 1.464 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/2.031, allocations: 371.5 kB / 1.464 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/2.032, allocations: 299.5 kB / 1.465 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/2.032, allocations: 67.95 kB / 1.465 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/2.034, allocations: 2.49 MB / 1.467 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.034, allocations: 3.953 kB / 1.467 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007536/2.041, allocations: 4.339 MB / 1.471 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00342/2.045, allocations: 0.9755 MB / 1.472 GB, free: 8.188 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/2.046, allocations: 44 kB / 1.472 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003774/2.05, allocations: 426.9 kB / 1.473 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/2.05, allocations: 153.8 kB / 1.473 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/2.05, allocations: 111.9 kB / 1.473 GB, free: 7.465 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.005124/2.055, allocations: 2.746 MB / 1.476 GB, free: 4.746 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.41e-07/2.055, allocations: 0 / 1.476 GB, free: 4.746 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01398/2.069, allocations: 3.246 MB / 1.479 GB, free: 1.492 MB / 1.045 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.01119/2.081, allocations: 6.061 MB / 1.485 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008539/2.089, allocations: 4.391 MB / 1.489 GB, free: 7.047 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/2.089, allocations: 4 kB / 1.489 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/2.091, allocations: 1.231 MB / 1.49 GB, free: 5.809 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/2.106, allocations: 2.649 MB / 1.493 GB, free: 3.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07414/2.18, allocations: 36 MB / 1.528 GB, free: 12.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/2.183, allocations: 2.873 MB / 1.531 GB, free: 9.348 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00558/2.189, allocations: 1.161 MB / 1.532 GB, free: 8.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003893/2.192, allocations: 2.534 MB / 1.534 GB, free: 5.648 MB / 1.107 GB Notification: Performance of SimCode: time 9.72e-07/2.192, allocations: 2.734 kB / 1.534 GB, free: 5.648 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2373/2.43, allocations: 147.6 MB / 1.679 GB, free: 3.844 MB / 1.248 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/2.43, allocations: 271.4 kB / 1.679 GB, free: 3.48 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/9.154, allocations: 4 kB / 1.679 GB, free: 3.477 MB / 1.248 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