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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.001316/0.001316, allocations: 100.1 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.001574/0.001574, allocations: 177.3 kB / 15.95 MB, free: 216 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.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.909/1.909, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005179/0.0005179, allocations: 20.16 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2697, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.461/3.731, allocations: 1.132 GB / 1.919 GB, free: 65.08 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 1.622/5.353, allocations: 282.8 MB / 2.195 GB, free: 17.59 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05835/5.411, allocations: 0.9368 MB / 2.196 GB, free: 17.59 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.06967/5.481, allocations: 13.42 MB / 2.209 GB, free: 17.57 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.1593/5.64, allocations: 33.33 MB / 2.242 GB, free: 17.21 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.08569/5.726, allocations: 25.1 MB / 2.266 GB, free: 16.17 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0859/5.812, allocations: 30.55 MB / 2.296 GB, free: 16.12 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04675/5.859, allocations: 14.38 MB / 2.31 GB, free: 30.11 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06115/5.92, allocations: 17.42 MB / 2.327 GB, free: 30.04 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03767/5.958, allocations: 13.9 MB / 2.34 GB, free: 29.38 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.008367/5.966, allocations: 0.6219 MB / 2.341 GB, free: 29.38 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05611/6.022, allocations: 13.07 MB / 2.354 GB, free: 27.16 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01229/6.034, allocations: 2.894 MB / 2.357 GB, free: 26.56 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01694/6.051, allocations: 4.081 MB / 2.361 GB, free: 26.53 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.06218/6.114, allocations: 31.28 MB / 2.391 GB, free: 7.996 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/6.114, allocations: 0 / 2.391 GB, free: 7.996 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.777e-06/6.114, allocations: 0 / 2.391 GB, free: 7.996 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.001497/6.115, allocations: 0 / 2.391 GB, free: 7.996 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.06987/6.185, allocations: 16.65 MB / 2.407 GB, free: 14.31 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/6.185, allocations: 8.25 kB / 2.407 GB, free: 14.31 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01007/6.195, allocations: 1.586 MB / 2.409 GB, free: 13.9 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/6.213, allocations: 2.189 MB / 2.411 GB, free: 12.18 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06468/6.278, allocations: 16.34 MB / 2.427 GB, free: 2.582 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002115/6.28, allocations: 0.9499 MB / 2.428 GB, free: 2.027 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007679/6.288, allocations: 1.258 MB / 2.429 GB, free: 1.176 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05117/6.339, allocations: 13.77 MB / 2.443 GB, free: 7.504 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006377/6.34, allocations: 44.44 kB / 2.443 GB, free: 7.48 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003427/6.343, allocations: 0.5075 MB / 2.443 GB, free: 7.359 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003891/6.343, allocations: 340.2 kB / 2.444 GB, free: 7.039 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/6.366, allocations: 9.606 MB / 2.453 GB, free: 1.242 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.1202/6.486, allocations: 70.95 MB / 2.522 GB, free: 7.387 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007855/6.494, allocations: 4.537 MB / 2.527 GB, free: 4.129 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09616/6.59, allocations: 51.83 MB / 2.577 GB, free: 9.91 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/6.59, allocations: 125.4 kB / 2.577 GB, free: 9.832 MB / 1.451 GB Notification: Performance of pre-optimization done (n=412): time 7.794e-06/6.59, allocations: 1.859 kB / 2.577 GB, free: 9.832 MB / 1.451 GB Notification: Performance of matching and sorting (n=412): time 0.01944/6.61, allocations: 6.923 MB / 2.584 GB, free: 4.785 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004073/6.61, allocations: 0.7903 MB / 2.585 GB, free: 3.828 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04382/6.654, allocations: 16.3 MB / 2.601 GB, free: 8.742 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.002241/6.657, allocations: 144.3 kB / 2.601 GB, free: 8.664 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.0126/6.669, allocations: 8.318 MB / 2.609 GB, free: 5.273 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.002909/6.672, allocations: 1.446 MB / 2.611 GB, free: 4.039 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/6.673, allocations: 120.2 kB / 2.611 GB, free: 4.016 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0005585/6.674, allocations: 0.5325 MB / 2.611 GB, free: 3.57 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/6.678, allocations: 1.957 MB / 2.613 GB, free: 2.371 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007215/6.685, allocations: 4.719 MB / 2.618 GB, free: 13.57 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005258/6.691, allocations: 2.795 MB / 2.62 GB, free: 12.03 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.641e-05/6.691, allocations: 20 kB / 2.62 GB, free: 12.01 MB / 1.482 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02001/6.711, allocations: 7.724 MB / 2.628 GB, free: 6.648 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/6.711, allocations: 35.95 kB / 2.628 GB, free: 6.613 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/6.711, allocations: 64.98 kB / 2.628 GB, free: 6.551 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/6.711, allocations: 108 kB / 2.628 GB, free: 6.445 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/6.717, allocations: 1.321 MB / 2.629 GB, free: 5.27 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001932/6.717, allocations: 144.5 kB / 2.63 GB, free: 5.156 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/6.733, allocations: 1.742 MB / 2.631 GB, free: 3.516 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/6.735, allocations: 352 kB / 2.632 GB, free: 3.227 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.01113/6.746, allocations: 3.388 MB / 2.635 GB, free: 1.637 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006221/6.752, allocations: 1.62 MB / 2.637 GB, free: 0 / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/6.77, allocations: 7.542 MB / 2.644 GB, free: 11.12 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002188/6.77, allocations: 82.75 kB / 2.644 GB, free: 11.05 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.504e-05/6.77, allocations: 8 kB / 2.644 GB, free: 11.04 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005056/6.775, allocations: 3.839 MB / 2.648 GB, free: 7.809 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06469/6.84, allocations: 28.59 MB / 2.676 GB, free: 4.816 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.907e-05/6.84, allocations: 33 kB / 2.676 GB, free: 4.785 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/6.843, allocations: 0.7782 MB / 2.676 GB, free: 4.086 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/6.843, allocations: 52 kB / 2.676 GB, free: 4.035 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/6.844, allocations: 154.6 kB / 2.677 GB, free: 3.945 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.199e-05/6.844, allocations: 69.95 kB / 2.677 GB, free: 3.891 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.626e-05/6.844, allocations: 49.22 kB / 2.677 GB, free: 3.855 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03106/6.875, allocations: 28.22 MB / 2.704 GB, free: 8.707 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01009/6.885, allocations: 3.207 MB / 2.707 GB, free: 6.469 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004731/6.89, allocations: 127.3 kB / 2.708 GB, free: 6.406 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0112/6.901, allocations: 0.5479 MB / 2.708 GB, free: 5.93 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/6.902, allocations: 403.5 kB / 2.708 GB, free: 5.605 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007208/6.903, allocations: 257.7 kB / 2.709 GB, free: 5.398 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.03097/6.934, allocations: 11.6 MB / 2.72 GB, free: 13.77 MB / 1.561 GB Notification: Performance of sort global known variables: time 1.583e-06/6.934, allocations: 0 / 2.72 GB, free: 13.77 MB / 1.561 GB Notification: Performance of remove unused functions: time 0.02276/6.957, allocations: 5.296 MB / 2.725 GB, free: 8.938 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.5708/7.528, allocations: 29.97 MB / 2.754 GB, free: 0.895 GB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.01357/7.541, allocations: 5.317 MB / 2.76 GB, free: 0.8948 GB / 1.576 GB Notification: Performance of simCode: created event and clocks part: time 4.259e-05/7.541, allocations: 9.688 kB / 2.76 GB, free: 0.8948 GB / 1.576 GB Notification: Performance of simCode: created simulation system equations: time 0.004585/7.546, allocations: 2.568 MB / 2.762 GB, free: 0.8946 GB / 1.576 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05866/7.605, allocations: 9.381 MB / 2.771 GB, free: 0.8944 GB / 1.576 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/7.711, allocations: 104.1 MB / 2.873 GB, free: 0.8085 GB / 1.576 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01611/7.727, allocations: 7.752 MB / 2.881 GB, free: 0.807 GB / 1.576 GB Notification: Performance of simCode: alias equations: time 0.02393/7.751, allocations: 3.158 MB / 2.884 GB, free: 0.8065 GB / 1.576 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01545/7.766, allocations: 7.814 MB / 2.891 GB, free: 0.8003 GB / 1.576 GB Notification: Performance of SimCode: time 1.503e-06/7.766, allocations: 0 / 2.891 GB, free: 0.8003 GB / 1.576 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7932/8.559, allocations: 486.2 MB / 3.366 GB, free: 360.6 MB / 1.576 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/8.56, allocations: 252.1 kB / 3.366 GB, free: 360.3 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.83/28.39, allocations: 0 / 3.366 GB, free: 360.3 MB / 1.576 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) Environment - environmentSimulation: