Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001153/0.001153, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006832/0.0006834, allocations: 13.28 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2685, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.09/3.358, allocations: 1.132 GB / 1.919 GB, free: 61.84 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 1.57/4.929, allocations: 282.8 MB / 2.195 GB, free: 17.99 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0566/4.985, allocations: 0.9373 MB / 2.196 GB, free: 17.99 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.07312/5.059, allocations: 13.43 MB / 2.209 GB, free: 17.97 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.1367/5.195, allocations: 33.33 MB / 2.241 GB, free: 17.61 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.07719/5.273, allocations: 25.1 MB / 2.266 GB, free: 16.57 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09117/5.364, allocations: 30.54 MB / 2.296 GB, free: 16.53 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05687/5.421, allocations: 14.38 MB / 2.31 GB, free: 30.52 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07298/5.494, allocations: 17.43 MB / 2.327 GB, free: 30.44 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04588/5.54, allocations: 13.9 MB / 2.34 GB, free: 29.82 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.009623/5.549, allocations: 0.6213 MB / 2.341 GB, free: 29.82 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05864/5.608, allocations: 13.06 MB / 2.354 GB, free: 27.6 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.009925/5.618, allocations: 2.899 MB / 2.357 GB, free: 27 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01492/5.633, allocations: 4.083 MB / 2.361 GB, free: 26.97 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.05452/5.687, allocations: 31.27 MB / 2.391 GB, free: 8.441 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/5.688, allocations: 2.469 kB / 2.391 GB, free: 8.441 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.437e-06/5.688, allocations: 0 / 2.391 GB, free: 8.441 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.001217/5.689, allocations: 3 kB / 2.391 GB, free: 8.441 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.04976/5.739, allocations: 16.65 MB / 2.407 GB, free: 14.75 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/5.739, allocations: 13.3 kB / 2.407 GB, free: 14.75 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/5.75, allocations: 2.19 MB / 2.409 GB, free: 13.65 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04086/5.791, allocations: 16.34 MB / 2.425 GB, free: 4.055 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/5.792, allocations: 0.9544 MB / 2.426 GB, free: 3.496 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006179/5.798, allocations: 1.257 MB / 2.428 GB, free: 2.645 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/5.847, allocations: 13.78 MB / 2.441 GB, free: 8.969 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00084/5.848, allocations: 40.25 kB / 2.441 GB, free: 8.949 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004557/5.853, allocations: 0.5065 MB / 2.442 GB, free: 8.828 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006956/5.853, allocations: 336.7 kB / 2.442 GB, free: 8.512 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04094/5.894, allocations: 9.611 MB / 2.451 GB, free: 2.711 MB / 1.326 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.1516/6.046, allocations: 70.94 MB / 2.521 GB, free: 8.875 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/6.058, allocations: 4.551 MB / 2.525 GB, free: 5.605 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1084/6.166, allocations: 51.82 MB / 2.576 GB, free: 11.39 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/6.166, allocations: 125.4 kB / 2.576 GB, free: 11.31 MB / 1.451 GB Notification: Performance of pre-optimization done (n=412): time 6.743e-06/6.166, allocations: 0 / 2.576 GB, free: 11.31 MB / 1.451 GB Notification: Performance of matching and sorting (n=412): time 0.01819/6.185, allocations: 6.928 MB / 2.583 GB, free: 6.262 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004101/6.185, allocations: 0.7876 MB / 2.583 GB, free: 5.305 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03759/6.223, allocations: 16.29 MB / 2.599 GB, free: 10.22 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.001533/6.224, allocations: 148.4 kB / 2.599 GB, free: 10.14 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.01077/6.235, allocations: 8.31 MB / 2.607 GB, free: 6.754 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.002878/6.238, allocations: 1.453 MB / 2.609 GB, free: 5.516 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007127/6.239, allocations: 118.8 kB / 2.609 GB, free: 5.492 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0004277/6.239, allocations: 0.5319 MB / 2.61 GB, free: 5.051 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003902/6.243, allocations: 1.956 MB / 2.611 GB, free: 3.852 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/6.25, allocations: 4.722 MB / 2.616 GB, free: 15.05 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004997/6.255, allocations: 2.785 MB / 2.619 GB, free: 13.52 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-05/6.255, allocations: 16 kB / 2.619 GB, free: 13.5 MB / 1.482 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02006/6.275, allocations: 7.739 MB / 2.626 GB, free: 8.125 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/6.275, allocations: 32 kB / 2.626 GB, free: 8.094 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/6.275, allocations: 64 kB / 2.626 GB, free: 8.031 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/6.276, allocations: 108 kB / 2.627 GB, free: 7.926 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00541/6.281, allocations: 1.323 MB / 2.628 GB, free: 6.75 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001908/6.281, allocations: 141.9 kB / 2.628 GB, free: 6.637 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01709/6.298, allocations: 1.737 MB / 2.63 GB, free: 5 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002231/6.301, allocations: 360.1 kB / 2.63 GB, free: 4.707 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 775 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01314/6.314, allocations: 3.391 MB / 2.633 GB, free: 3.113 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007101/6.321, allocations: 1.62 MB / 2.635 GB, free: 1.477 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0194/6.34, allocations: 7.53 MB / 2.642 GB, free: 12.6 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002683/6.341, allocations: 81.69 kB / 2.642 GB, free: 12.53 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-05/6.341, allocations: 12 kB / 2.642 GB, free: 12.52 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005825/6.347, allocations: 3.833 MB / 2.646 GB, free: 9.297 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06297/6.41, allocations: 28.59 MB / 2.674 GB, free: 6.297 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.899e-05/6.41, allocations: 35.84 kB / 2.674 GB, free: 6.266 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002984/6.413, allocations: 0.7831 MB / 2.675 GB, free: 5.562 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-05/6.413, allocations: 56 kB / 2.675 GB, free: 5.508 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004286/6.413, allocations: 152.6 kB / 2.675 GB, free: 5.422 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/6.413, allocations: 70.41 kB / 2.675 GB, free: 5.367 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.259e-05/6.413, allocations: 50.25 kB / 2.675 GB, free: 5.332 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02494/6.438, allocations: 28.21 MB / 2.703 GB, free: 10.18 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01138/6.45, allocations: 3.206 MB / 2.706 GB, free: 7.945 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005491/6.455, allocations: 128.5 kB / 2.706 GB, free: 7.883 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/6.468, allocations: 0.5443 MB / 2.706 GB, free: 7.41 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/6.47, allocations: 403.7 kB / 2.707 GB, free: 7.09 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007229/6.47, allocations: 255.2 kB / 2.707 GB, free: 6.883 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.02846/6.499, allocations: 11.6 MB / 2.718 GB, free: 15.25 MB / 1.561 GB Notification: Performance of sort global known variables: time 6.32e-07/6.499, allocations: 0 / 2.718 GB, free: 15.25 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.02753/6.526, allocations: 5.295 MB / 2.724 GB, free: 10.43 MB / 1.561 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01448/6.541, allocations: 4.739 MB / 2.728 GB, free: 6.277 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.01194/6.553, allocations: 5.308 MB / 2.733 GB, free: 2.82 MB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 4.754e-05/6.553, allocations: 8.375 kB / 2.733 GB, free: 2.809 MB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/6.557, allocations: 2.567 MB / 2.736 GB, free: 1.172 MB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05315/6.611, allocations: 9.394 MB / 2.745 GB, free: 9.363 MB / 1.576 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.101/7.712, allocations: 31.54 MB / 2.776 GB, free: 0.8557 GB / 1.576 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02604/7.738, allocations: 7.758 MB / 2.783 GB, free: 0.8547 GB / 1.576 GB Notification: Performance of simCode: alias equations: time 0.02482/7.763, allocations: 3.153 MB / 2.787 GB, free: 0.8545 GB / 1.576 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006938/7.77, allocations: 1.051 MB / 2.788 GB, free: 0.8545 GB / 1.576 GB Notification: Performance of SimCode: time 1.663e-06/7.77, allocations: 0 / 2.788 GB, free: 0.8545 GB / 1.576 GB Notification: Performance of Templates: time 0.4627/8.233, allocations: 339.5 MB / 3.119 GB, free: 0.5802 GB / 1.576 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) Environment - environmentSimulation: