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.001698/0.001698, allocations: 103.2 kB / 16.27 MB, free: 6.051 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.001874/0.001874, allocations: 187.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.815/1.815, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.001593/0.001593, allocations: 63.91 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2477, allocations: 114.6 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.876/4.123, allocations: 1.349 GB / 2.133 GB, free: 49.59 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.3848/4.508, allocations: 329.5 MB / 2.455 GB, free: 5.285 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0579/4.566, allocations: 1.141 MB / 2.456 GB, free: 4.137 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.04254/4.609, allocations: 12.96 MB / 2.469 GB, free: 7.102 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.1087/4.718, allocations: 32.09 MB / 2.5 GB, free: 6.906 MB / 1.389 GB Notification: Performance of NFTyping.typeClassSections: time 0.05536/4.773, allocations: 18.77 MB / 2.518 GB, free: 4.359 MB / 1.404 GB Notification: Performance of NFFlatten.flatten: time 0.0933/4.866, allocations: 56.46 MB / 2.573 GB, free: 11.75 MB / 1.467 GB Notification: Performance of NFFlatten.resolveConnections: time 2.21/7.076, allocations: 22.49 MB / 2.595 GB, free: 25.38 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0791/7.156, allocations: 24.72 MB / 2.619 GB, free: 25.3 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05221/7.208, allocations: 17.6 MB / 2.637 GB, free: 22.11 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.01274/7.221, allocations: 2.069 MB / 2.639 GB, free: 22.11 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0584/7.279, allocations: 17.75 MB / 2.656 GB, free: 22.11 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.01487/7.294, allocations: 4.742 MB / 2.661 GB, free: 21.39 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.03461/7.329, allocations: 10.91 MB / 2.671 GB, free: 18.5 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.1018/7.43, allocations: 41.09 MB / 2.711 GB, free: 15.5 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/7.431, allocations: 10 kB / 2.711 GB, free: 15.49 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.324e-06/7.431, allocations: 0 / 2.711 GB, free: 15.49 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.001629/7.432, allocations: 0 / 2.711 GB, free: 15.49 MB / 1.467 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.08615/7.518, allocations: 20.5 MB / 2.731 GB, free: 7.293 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/7.518, allocations: 13.84 kB / 2.731 GB, free: 7.293 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/7.533, allocations: 2.19 MB / 2.734 GB, free: 6.25 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04224/7.575, allocations: 17.03 MB / 2.75 GB, free: 3.629 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/7.576, allocations: 0.9503 MB / 2.751 GB, free: 3.602 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006403/7.583, allocations: 1.258 MB / 2.752 GB, free: 3.598 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05242/7.635, allocations: 14.09 MB / 2.766 GB, free: 1.195 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001015/7.636, allocations: 49.41 kB / 2.766 GB, free: 1.188 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005813/7.642, allocations: 0.5119 MB / 2.767 GB, free: 1.188 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005062/7.643, allocations: 338.6 kB / 2.767 GB, free: 1.188 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/7.67, allocations: 9.711 MB / 2.777 GB, free: 1.117 MB / 1.467 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.1131/7.783, allocations: 72.91 MB / 2.848 GB, free: 3.371 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007625/7.79, allocations: 4.559 MB / 2.852 GB, free: 2.188 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/7.794, allocations: 2.441 MB / 2.855 GB, free: 1.676 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09086/7.885, allocations: 51.49 MB / 2.905 GB, free: 0.9648 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/7.886, allocations: 119.7 kB / 2.905 GB, free: 0.8906 MB / 1.561 GB Notification: Performance of pre-optimization done (n=412): time 7.464e-06/7.886, allocations: 0 / 2.905 GB, free: 0.8906 MB / 1.561 GB Notification: Performance of matching and sorting (n=412): time 0.02091/7.907, allocations: 6.954 MB / 2.912 GB, free: 11.83 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003698/7.907, allocations: 0.7905 MB / 2.913 GB, free: 10.88 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04171/7.949, allocations: 16.27 MB / 2.928 GB, free: 15.7 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001956/7.951, allocations: 142.6 kB / 2.929 GB, free: 15.62 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.01203/7.963, allocations: 8.359 MB / 2.937 GB, free: 12.17 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002891/7.966, allocations: 1.453 MB / 2.938 GB, free: 10.93 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003505/7.969, allocations: 1.432 MB / 2.94 GB, free: 10.03 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 0.0001156/7.969, allocations: 307.1 kB / 2.94 GB, free: 9.727 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/7.973, allocations: 2.025 MB / 2.942 GB, free: 8.473 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006536/7.979, allocations: 4.976 MB / 2.947 GB, free: 3.363 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009374/7.989, allocations: 6.681 MB / 2.953 GB, free: 14.02 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/7.989, allocations: 20 kB / 2.953 GB, free: 14 MB / 1.608 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02307/8.012, allocations: 7.986 MB / 2.961 GB, free: 8.203 MB / 1.608 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/8.012, allocations: 38.97 kB / 2.961 GB, free: 8.168 MB / 1.608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.73e-05/8.012, allocations: 68 kB / 2.961 GB, free: 8.102 MB / 1.608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/8.012, allocations: 108 kB / 2.961 GB, free: 7.996 MB / 1.608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/8.017, allocations: 1.372 MB / 2.963 GB, free: 6.727 MB / 1.608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000151/8.017, allocations: 146 kB / 2.963 GB, free: 6.613 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/8.032, allocations: 1.297 MB / 2.964 GB, free: 5.309 MB / 1.608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002304/8.035, allocations: 367.9 kB / 2.964 GB, free: 4.949 MB / 1.608 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01282/8.047, allocations: 3.417 MB / 2.968 GB, free: 1.621 MB / 1.608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007822/8.055, allocations: 1.623 MB / 2.969 GB, free: 15.98 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02138/8.077, allocations: 7.555 MB / 2.977 GB, free: 8.672 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002899/8.077, allocations: 79.94 kB / 2.977 GB, free: 8.594 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.593e-05/8.077, allocations: 8.75 kB / 2.977 GB, free: 8.586 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005872/8.083, allocations: 3.847 MB / 2.98 GB, free: 4.438 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0691/8.152, allocations: 28.5 MB / 3.008 GB, free: 7.82 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001738/8.152, allocations: 32 kB / 3.008 GB, free: 7.789 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/8.156, allocations: 0.776 MB / 3.009 GB, free: 7.062 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/8.156, allocations: 54.72 kB / 3.009 GB, free: 7.012 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009149/8.157, allocations: 152 kB / 3.009 GB, free: 6.863 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/8.157, allocations: 71.25 kB / 3.009 GB, free: 6.805 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.611e-05/8.157, allocations: 56.25 kB / 3.009 GB, free: 6.766 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02532/8.182, allocations: 11.92 MB / 3.021 GB, free: 10.29 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01108/8.193, allocations: 2.829 MB / 3.024 GB, free: 7.418 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006913/8.2, allocations: 151.7 kB / 3.024 GB, free: 7.27 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01239/8.213, allocations: 221.4 kB / 3.024 GB, free: 7.055 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/8.215, allocations: 394.9 kB / 3.025 GB, free: 6.695 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00158/8.216, allocations: 255.9 kB / 3.025 GB, free: 6.445 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.03589/8.252, allocations: 11.59 MB / 3.036 GB, free: 10.95 MB / 1.686 GB Notification: Performance of sort global known variables: time 1.082e-06/8.252, allocations: 0 / 3.036 GB, free: 10.95 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.02759/8.28, allocations: 5.301 MB / 3.041 GB, free: 5.637 MB / 1.686 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01707/8.297, allocations: 4.536 MB / 3.046 GB, free: 1.582 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.0144/8.311, allocations: 5.784 MB / 3.051 GB, free: 12.12 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-05/8.311, allocations: 11.91 kB / 3.051 GB, free: 12.11 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.005727/8.317, allocations: 2.581 MB / 3.054 GB, free: 9.695 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0659/8.383, allocations: 10.1 MB / 3.064 GB, free: 368 kB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07162/8.455, allocations: 27.82 MB / 3.091 GB, free: 4.195 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01728/8.472, allocations: 7.282 MB / 3.098 GB, free: 12.88 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005224/8.477, allocations: 1.104 MB / 3.099 GB, free: 11.78 MB / 1.748 GB Notification: Performance of SimCode: time 1.703e-06/8.477, allocations: 3.938 kB / 3.099 GB, free: 11.77 MB / 1.748 GB Notification: Performance of Templates: time 1.066/9.544, allocations: 316.8 MB / 3.408 GB, free: 1.032 GB / 1.873 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (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)