Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Heating.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.Heating.Examples.Direct,fileNamePrefix="Buildings_latest_Buildings_DHC_ETS_Heating_Examples_Direct",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.ETS.Heating.Examples.Direct,fileNamePrefix="Buildings_latest_Buildings_DHC_ETS_Heating_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.006809/0.006809, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001698/0.001698, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.606/2.606, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.84 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2748, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Direct): time 0.6634/0.9382, allocations: 155.4 MB / 1.394 GB, free: 2.797 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04756/0.9858, allocations: 34.21 MB / 1.427 GB, free: 6.973 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00591/0.9918, allocations: 165.6 kB / 1.427 GB, free: 6.914 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.008056/0.9998, allocations: 3.002 MB / 1.43 GB, free: 4.652 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/1.014, allocations: 5.421 MB / 1.435 GB, free: 288 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01011/1.024, allocations: 4.403 MB / 1.44 GB, free: 12.76 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01836/1.043, allocations: 13.23 MB / 1.453 GB, free: 15.5 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005665/1.048, allocations: 3.637 MB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/1.058, allocations: 4.529 MB / 1.461 GB, free: 7.262 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004946/1.063, allocations: 2.878 MB / 1.463 GB, free: 4.371 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00104/1.064, allocations: 400 kB / 1.464 GB, free: 3.98 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006717/1.071, allocations: 2.925 MB / 1.467 GB, free: 1.051 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001449/1.073, allocations: 1.137 MB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0036/1.076, allocations: 2.383 MB / 1.47 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/1.088, allocations: 7.408 MB / 1.477 GB, free: 6.082 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.088, allocations: 0 / 1.477 GB, free: 6.082 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.936e-06/1.088, allocations: 4 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001267/1.088, allocations: 3.938 kB / 1.477 GB, free: 6.074 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.008956/1.097, allocations: 5.079 MB / 1.482 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.097, allocations: 11.97 kB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003757/1.098, allocations: 316.2 kB / 1.483 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/1.1, allocations: 0.5984 MB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007656/1.107, allocations: 4.649 MB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/1.107, allocations: 176.4 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/1.108, allocations: 243.9 kB / 1.488 GB, free: 10.85 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/1.112, allocations: 2.464 MB / 1.491 GB, free: 8.242 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/1.112, allocations: 4 kB / 1.491 GB, free: 8.238 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/1.112, allocations: 92 kB / 1.491 GB, free: 8.148 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/1.112, allocations: 63.94 kB / 1.491 GB, free: 8.086 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/1.116, allocations: 1.816 MB / 1.492 GB, free: 6.254 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.01568/1.131, allocations: 13.36 MB / 1.505 GB, free: 7.922 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/1.134, allocations: 1.243 MB / 1.507 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/1.135, allocations: 0.6857 MB / 1.507 GB, free: 5.973 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005954/1.141, allocations: 4.163 MB / 1.511 GB, free: 1.418 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/1.142, allocations: 0.7076 MB / 1.512 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of pre-optimization done (n=119): time 2.865e-06/1.142, allocations: 0 / 1.512 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of matching and sorting (n=119): time 0.005362/1.148, allocations: 2.148 MB / 1.514 GB, free: 14.52 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.148, allocations: 123.8 kB / 1.514 GB, free: 14.37 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/1.153, allocations: 3.484 MB / 1.518 GB, free: 10.87 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.153, allocations: 61.69 kB / 1.518 GB, free: 10.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.155, allocations: 1.774 MB / 1.52 GB, free: 9.02 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/1.155, allocations: 444.2 kB / 1.52 GB, free: 8.582 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006315/1.156, allocations: 463.7 kB / 1.52 GB, free: 8.121 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.156, allocations: 305.1 kB / 1.521 GB, free: 7.82 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.157, allocations: 0.7433 MB / 1.521 GB, free: 7.074 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/1.159, allocations: 1.377 MB / 1.523 GB, free: 5.43 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/1.162, allocations: 1.979 MB / 1.525 GB, free: 3.246 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.162, allocations: 4 kB / 1.525 GB, free: 3.242 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004724/1.167, allocations: 2.561 MB / 1.527 GB, free: 0.668 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.167, allocations: 12 kB / 1.527 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/1.167, allocations: 16 kB / 1.527 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/1.167, allocations: 124.7 kB / 1.527 GB, free: 0.5156 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/1.169, allocations: 435.3 kB / 1.528 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000582/1.169, allocations: 0.6538 MB / 1.528 GB, free: 15.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.171, allocations: 270.2 kB / 1.529 GB, free: 15.14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.171, allocations: 87.98 kB / 1.529 GB, free: 15.06 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002494/1.174, allocations: 1.433 MB / 1.53 GB, free: 13.62 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001805/1.176, allocations: 1.354 MB / 1.531 GB, free: 12 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002861/1.179, allocations: 1.951 MB / 1.533 GB, free: 9.844 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/1.179, allocations: 4 kB / 1.533 GB, free: 9.84 MB / 1.232 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.004458/1.183, allocations: 2.494 MB / 1.536 GB, free: 7.336 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.183, allocations: 12 kB / 1.536 GB, free: 7.324 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.183, allocations: 19.94 kB / 1.536 GB, free: 7.305 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/1.183, allocations: 64.83 kB / 1.536 GB, free: 7.238 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.185, allocations: 435.3 kB / 1.536 GB, free: 6.812 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/1.186, allocations: 1.72 MB / 1.538 GB, free: 4.953 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.188, allocations: 219 kB / 1.538 GB, free: 4.738 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.189, allocations: 95.97 kB / 1.538 GB, free: 4.645 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.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled,QHea.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.0004562/1.189, allocations: 308.6 kB / 1.539 GB, free: 4.336 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006476/1.19, allocations: 377.5 kB / 1.539 GB, free: 3.965 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/1.193, allocations: 1.838 MB / 1.541 GB, free: 2.109 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/1.193, allocations: 12 kB / 1.541 GB, free: 2.098 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/1.193, allocations: 7.938 kB / 1.541 GB, free: 2.09 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002255/1.196, allocations: 1.23 MB / 1.542 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007304/1.203, allocations: 4.594 MB / 1.546 GB, free: 12.16 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.203, allocations: 0 / 1.546 GB, free: 12.16 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009908/1.204, allocations: 251.8 kB / 1.547 GB, free: 11.91 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/1.204, allocations: 76.78 kB / 1.547 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/1.204, allocations: 35.98 kB / 1.547 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004811/1.205, allocations: 0.6264 MB / 1.547 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.205, allocations: 4.031 kB / 1.547 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/1.209, allocations: 2.591 MB / 1.55 GB, free: 8.512 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.211, allocations: 0.6387 MB / 1.551 GB, free: 7.852 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/1.211, allocations: 28 kB / 1.551 GB, free: 7.824 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.212, allocations: 83.91 kB / 1.551 GB, free: 7.742 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.212, allocations: 81.2 kB / 1.551 GB, free: 7.664 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.212, allocations: 67.83 kB / 1.551 GB, free: 7.598 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003501/1.216, allocations: 2.32 MB / 1.553 GB, free: 5.27 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.1e-07/1.216, allocations: 0 / 1.553 GB, free: 5.27 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004328/1.22, allocations: 1.859 MB / 1.555 GB, free: 3.406 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (heaETS.senTDisSup.T,heaETS.jun.vol.dynBal.U,heaETS.senTDisRet.T,heaETS.spl.vol.dynBal.U,heaETS.conVal.actPos.y,heaETS.senTBuiRet.T,heaETS.int.y,heaETS.con.I.y,heaETS.senTBuiSup.T,pum.vol.dynBal.U,pum.motSpe.y,loa.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,QHea.nextTimeEvent,QHea.nextTimeEventScaled) * Number of discrete states: 2 (QHea.nextTimeEvent,QHea.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.007548/1.228, allocations: 4.338 MB / 1.559 GB, free: 15.19 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005319/1.233, allocations: 2.972 MB / 1.562 GB, free: 12.21 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.233, allocations: 0 / 1.562 GB, free: 12.21 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.234, allocations: 0.6921 MB / 1.563 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00717/1.242, allocations: 1.857 MB / 1.565 GB, free: 9.719 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03672/1.278, allocations: 23.53 MB / 1.587 GB, free: 1.539 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/1.281, allocations: 2.163 MB / 1.59 GB, free: 15.36 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002852/1.283, allocations: 0.8245 MB / 1.59 GB, free: 14.53 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/1.285, allocations: 1.608 MB / 1.592 GB, free: 12.92 MB / 1.295 GB Notification: Performance of SimCode: time 6.51e-07/1.285, allocations: 0 / 1.592 GB, free: 12.92 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.79/5.075, allocations: 98.95 MB / 1.689 GB, free: 10.91 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.34/44.41, allocations: 7.859 kB / 1.689 GB, free: 10.91 MB / 1.389 GB (rm -f Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_ETS_Heating_Examples_Direct_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_DHC_ETS_Heating_Examples_Direct.fmu > Buildings_latest_Buildings.DHC.ETS.Heating.Examples.Direct.pipe 2>&1)