Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.ETS.Cooling.Examples.Direct,fileNamePrefix="Buildings_latest_Buildings_DHC_ETS_Cooling_Examples_Direct",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.ETS.Cooling.Examples.Direct,fileNamePrefix="Buildings_latest_Buildings_DHC_ETS_Cooling_Examples_Direct",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.001452/0.001452, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 188.1 kB / 16.66 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.586/2.586, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002588, allocations: 67.88 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.294, allocations: 162.3 MB / 1.242 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Direct): time 0.6924/0.9864, allocations: 155.4 MB / 1.394 GB, free: 2.875 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.05088/1.037, allocations: 34.2 MB / 1.427 GB, free: 7.055 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005581/1.043, allocations: 165.5 kB / 1.427 GB, free: 6.996 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.009653/1.053, allocations: 3.011 MB / 1.43 GB, free: 4.727 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01824/1.071, allocations: 5.42 MB / 1.435 GB, free: 368 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00998/1.081, allocations: 4.387 MB / 1.44 GB, free: 12.83 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01797/1.099, allocations: 13.24 MB / 1.453 GB, free: 15.56 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005515/1.104, allocations: 3.645 MB / 1.456 GB, free: 11.86 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/1.115, allocations: 4.476 MB / 1.461 GB, free: 7.379 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007085/1.123, allocations: 2.878 MB / 1.463 GB, free: 4.488 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001428/1.124, allocations: 404 kB / 1.464 GB, free: 4.094 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008137/1.132, allocations: 2.921 MB / 1.467 GB, free: 1.168 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/1.134, allocations: 1.148 MB / 1.468 GB, free: 16 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003229/1.137, allocations: 2.375 MB / 1.47 GB, free: 13.63 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/1.148, allocations: 7.415 MB / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.148, allocations: 0 / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.823e-06/1.148, allocations: 0 / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001123/1.148, allocations: 0 / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 561 * Number of variables: 561 Notification: Performance of Generate backend data structure: time 0.008185/1.156, allocations: 5.087 MB / 1.482 GB, free: 1.008 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.156, allocations: 8.031 kB / 1.482 GB, free: 1 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003638/1.157, allocations: 308.3 kB / 1.483 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/1.158, allocations: 0.5945 MB / 1.483 GB, free: 92 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00745/1.166, allocations: 4.657 MB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/1.166, allocations: 180.4 kB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/1.166, allocations: 243.9 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/1.171, allocations: 2.462 MB / 1.49 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/1.171, allocations: 3.938 kB / 1.49 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/1.171, allocations: 96 kB / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/1.171, allocations: 60 kB / 1.491 GB, free: 8.195 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/1.175, allocations: 1.824 MB / 1.492 GB, free: 6.355 MB / 1.186 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.02222/1.197, allocations: 13.35 MB / 1.505 GB, free: 8.031 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/1.199, allocations: 1.238 MB / 1.507 GB, free: 6.773 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/1.2, allocations: 0.6818 MB / 1.507 GB, free: 6.09 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005803/1.206, allocations: 4.171 MB / 1.511 GB, free: 1.527 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/1.207, allocations: 0.7114 MB / 1.512 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of pre-optimization done (n=119): time 2.614e-06/1.207, allocations: 4 kB / 1.512 GB, free: 0.793 MB / 1.201 GB Notification: Performance of matching and sorting (n=119): time 0.005203/1.213, allocations: 2.159 MB / 1.514 GB, free: 14.6 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/1.213, allocations: 115.8 kB / 1.514 GB, free: 14.46 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004601/1.217, allocations: 3.476 MB / 1.518 GB, free: 10.97 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/1.217, allocations: 57.7 kB / 1.518 GB, free: 10.91 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/1.219, allocations: 1.77 MB / 1.519 GB, free: 9.133 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/1.22, allocations: 452.2 kB / 1.52 GB, free: 8.688 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006078/1.22, allocations: 467.7 kB / 1.52 GB, free: 8.223 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.22, allocations: 309.1 kB / 1.521 GB, free: 7.918 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.222, allocations: 0.7394 MB / 1.521 GB, free: 7.176 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.223, allocations: 1.37 MB / 1.523 GB, free: 5.539 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/1.226, allocations: 1.995 MB / 1.525 GB, free: 3.34 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.226, allocations: 8 kB / 1.525 GB, free: 3.332 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004614/1.231, allocations: 2.553 MB / 1.527 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.231, allocations: 12 kB / 1.527 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.231, allocations: 16 kB / 1.527 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004789/1.232, allocations: 116.7 kB / 1.527 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.233, allocations: 439.3 kB / 1.528 GB, free: 196 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005602/1.233, allocations: 0.6499 MB / 1.528 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/1.235, allocations: 270.3 kB / 1.529 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.236, allocations: 91.97 kB / 1.529 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002385/1.238, allocations: 1.426 MB / 1.53 GB, free: 13.73 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001893/1.24, allocations: 1.35 MB / 1.531 GB, free: 12.11 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00464/1.245, allocations: 1.963 MB / 1.533 GB, free: 9.945 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.335e-05/1.245, allocations: 4 kB / 1.533 GB, free: 9.941 MB / 1.232 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.007147/1.252, allocations: 2.494 MB / 1.536 GB, free: 7.438 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.252, allocations: 12 kB / 1.536 GB, free: 7.426 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/1.252, allocations: 16 kB / 1.536 GB, free: 7.41 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/1.252, allocations: 68.83 kB / 1.536 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/1.254, allocations: 431.3 kB / 1.536 GB, free: 6.918 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.257, allocations: 1.724 MB / 1.538 GB, free: 5.055 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/1.259, allocations: 219 kB / 1.538 GB, free: 4.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.259, allocations: 91.98 kB / 1.538 GB, free: 4.75 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.int.local_reset,QCoo.nextTimeEventScaled,$PRE.QCoo.nextTimeEventScaled,QCoo.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 238 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004576/1.26, allocations: 310.7 kB / 1.539 GB, free: 4.441 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/1.26, allocations: 381.6 kB / 1.539 GB, free: 4.066 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/1.264, allocations: 1.838 MB / 1.541 GB, free: 2.211 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/1.264, allocations: 16 kB / 1.541 GB, free: 2.195 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.264, allocations: 7.938 kB / 1.541 GB, free: 2.188 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002251/1.266, allocations: 1.23 MB / 1.542 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/1.273, allocations: 4.598 MB / 1.546 GB, free: 12.25 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.273, allocations: 0 / 1.546 GB, free: 12.25 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/1.274, allocations: 239.7 kB / 1.547 GB, free: 12.02 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/1.275, allocations: 76.97 kB / 1.547 GB, free: 11.94 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.233e-05/1.275, allocations: 35.98 kB / 1.547 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000474/1.275, allocations: 0.6265 MB / 1.547 GB, free: 11.25 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.275, allocations: 11.92 kB / 1.547 GB, free: 11.24 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/1.28, allocations: 2.595 MB / 1.55 GB, free: 8.605 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.281, allocations: 0.6387 MB / 1.551 GB, free: 7.945 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/1.281, allocations: 24 kB / 1.551 GB, free: 7.922 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.283, allocations: 83.92 kB / 1.551 GB, free: 7.84 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.283, allocations: 77.2 kB / 1.551 GB, free: 7.766 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.283, allocations: 59.95 kB / 1.551 GB, free: 7.707 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003421/1.286, allocations: 2.324 MB / 1.553 GB, free: 5.375 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.2e-07/1.286, allocations: 0 / 1.553 GB, free: 5.375 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004224/1.29, allocations: 1.855 MB / 1.555 GB, free: 3.516 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (cooETS.senTDisSup.T,cooETS.jun.vol.dynBal.U,cooETS.senTDisRet.T,cooETS.spl.vol.dynBal.U,cooETS.conVal.actPos.y,cooETS.senTBuiRet.T,cooETS.int.y,cooETS.con.I.y,cooETS.senTBuiSup.T,pum.vol.dynBal.U,pum.motSpe.y,loa.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,QCoo.nextTimeEvent,QCoo.nextTimeEventScaled) * Number of discrete states: 2 (QCoo.nextTimeEvent,QCoo.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007593/1.298, allocations: 4.335 MB / 1.559 GB, free: 15.3 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005389/1.303, allocations: 2.972 MB / 1.562 GB, free: 12.32 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.304, allocations: 0.875 kB / 1.562 GB, free: 12.32 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/1.306, allocations: 0.6946 MB / 1.563 GB, free: 11.63 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/1.318, allocations: 1.862 MB / 1.564 GB, free: 9.82 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/1.356, allocations: 23.53 MB / 1.587 GB, free: 1.645 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.358, allocations: 2.167 MB / 1.59 GB, free: 15.46 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002866/1.361, allocations: 0.8167 MB / 1.59 GB, free: 14.64 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.363, allocations: 1.604 MB / 1.592 GB, free: 13.04 MB / 1.295 GB Notification: Performance of SimCode: time 6.51e-07/1.363, allocations: 0 / 1.592 GB, free: 13.04 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.674/7.037, allocations: 98.96 MB / 1.689 GB, free: 11.02 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.83/30.87, allocations: 9.984 kB / 1.689 GB, free: 11.01 MB / 1.389 GB (rm -f Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_ETS_Cooling_Examples_Direct_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_DHC_ETS_Cooling_Examples_Direct.fmu > Buildings_latest_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe 2>&1)