Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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 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: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001193/0.001193, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001361/0.001361, allocations: 192 kB / 16.25 MB, free: 6.633 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 62.94 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3651, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.45/4.816, allocations: 1.356 GB / 2.424 GB, free: 84.43 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.3856/5.201, allocations: 331.1 MB / 2.747 GB, free: 31.59 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07225/5.274, allocations: 1.122 MB / 2.748 GB, free: 30.92 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.04448/5.318, allocations: 11.56 MB / 2.76 GB, free: 19.79 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.1297/5.448, allocations: 29.97 MB / 2.789 GB, free: 10.38 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.06722/5.515, allocations: 18.25 MB / 2.807 GB, free: 10.12 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.1035/5.619, allocations: 58.42 MB / 2.864 GB, free: 1.234 MB / 1.654 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06427/5.683, allocations: 23.01 MB / 2.886 GB, free: 10.34 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07944/5.762, allocations: 24.98 MB / 2.911 GB, free: 2.793 MB / 1.701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04321/5.806, allocations: 18.28 MB / 2.928 GB, free: 1.672 MB / 1.717 GB Notification: Performance of NFPackage.collectConstants: time 0.01262/5.818, allocations: 2.129 MB / 2.931 GB, free: 15.54 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05535/5.874, allocations: 18.03 MB / 2.948 GB, free: 14.21 MB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.01179/5.886, allocations: 4.912 MB / 2.953 GB, free: 9.352 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.03219/5.918, allocations: 11.19 MB / 2.964 GB, free: 14.19 MB / 1.764 GB Notification: Performance of NFConvertDAE.convert: time 0.08658/6.004, allocations: 40.71 MB / 3.004 GB, free: 6.793 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/6.005, allocations: 7.984 kB / 3.004 GB, free: 6.785 MB / 1.795 GB Notification: Performance of FrontEnd: time 2.144e-06/6.005, allocations: 0 / 3.004 GB, free: 6.785 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001446/6.006, allocations: 0 / 3.004 GB, free: 6.785 MB / 1.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.07285/6.079, allocations: 20.91 MB / 3.024 GB, free: 1.941 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/6.079, allocations: 8.031 kB / 3.024 GB, free: 1.934 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/6.092, allocations: 2.252 MB / 3.026 GB, free: 15.66 MB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0485/6.14, allocations: 18.03 MB / 3.044 GB, free: 13.94 MB / 1.842 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/6.142, allocations: 0.9739 MB / 3.045 GB, free: 12.96 MB / 1.842 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004432/6.146, allocations: 1.292 MB / 3.046 GB, free: 11.67 MB / 1.842 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8184/6.965, allocations: 14.48 MB / 3.06 GB, free: 0.942 GB / 1.842 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001188/6.966, allocations: 38.53 kB / 3.06 GB, free: 0.942 GB / 1.842 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004769/6.971, allocations: 0.5371 MB / 3.061 GB, free: 0.942 GB / 1.842 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008532/6.971, allocations: 345.4 kB / 3.061 GB, free: 0.942 GB / 1.842 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/6.998, allocations: 10.09 MB / 3.071 GB, free: 0.94 GB / 1.842 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.1249/7.123, allocations: 74.72 MB / 3.144 GB, free: 0.8846 GB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007815/7.131, allocations: 4.577 MB / 3.148 GB, free: 0.882 GB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003705/7.135, allocations: 2.428 MB / 3.151 GB, free: 0.8807 GB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0755/7.21, allocations: 51.5 MB / 3.201 GB, free: 0.8375 GB / 1.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/7.21, allocations: 122.3 kB / 3.201 GB, free: 0.8375 GB / 1.842 GB Notification: Performance of pre-optimization done (n=412): time 1.219e-05/7.21, allocations: 0 / 3.201 GB, free: 0.8375 GB / 1.842 GB Notification: Performance of matching and sorting (n=412): time 0.02046/7.231, allocations: 6.978 MB / 3.208 GB, free: 0.8341 GB / 1.842 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002717/7.231, allocations: 0.7932 MB / 3.209 GB, free: 0.8332 GB / 1.842 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04374/7.275, allocations: 16.44 MB / 3.225 GB, free: 0.8249 GB / 1.842 GB Notification: Performance of collectPreVariables (initialization): time 0.001611/7.277, allocations: 139.4 kB / 3.225 GB, free: 0.8248 GB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.01206/7.289, allocations: 8.654 MB / 3.233 GB, free: 0.8174 GB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.002868/7.292, allocations: 1.458 MB / 3.235 GB, free: 0.8161 GB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005786/7.297, allocations: 1.451 MB / 3.236 GB, free: 0.8153 GB / 1.842 GB Notification: Performance of setup shared object (initialization): time 5.385e-05/7.297, allocations: 301.1 kB / 3.237 GB, free: 0.815 GB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/7.302, allocations: 2.053 MB / 3.239 GB, free: 0.814 GB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006672/7.308, allocations: 5.085 MB / 3.244 GB, free: 0.8093 GB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008487/7.317, allocations: 6.893 MB / 3.25 GB, free: 0.8041 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/7.317, allocations: 25.94 kB / 3.25 GB, free: 0.8041 GB / 1.842 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02291/7.34, allocations: 8.153 MB / 3.258 GB, free: 0.7988 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/7.34, allocations: 41.41 kB / 3.258 GB, free: 0.7988 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/7.34, allocations: 72 kB / 3.258 GB, free: 0.7987 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/7.34, allocations: 112 kB / 3.258 GB, free: 0.7986 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005325/7.346, allocations: 1.412 MB / 3.26 GB, free: 0.7972 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002013/7.346, allocations: 159.4 kB / 3.26 GB, free: 0.797 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01852/7.364, allocations: 1.848 MB / 3.262 GB, free: 0.7952 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002164/7.367, allocations: 379.9 kB / 3.262 GB, free: 0.7949 GB / 1.842 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.01169/7.378, allocations: 3.554 MB / 3.266 GB, free: 0.7914 GB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007869/7.386, allocations: 1.651 MB / 3.267 GB, free: 0.7898 GB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/7.405, allocations: 7.552 MB / 3.275 GB, free: 0.7825 GB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002638/7.405, allocations: 83.94 kB / 3.275 GB, free: 0.7824 GB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-05/7.405, allocations: 15.94 kB / 3.275 GB, free: 0.7824 GB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004464/7.41, allocations: 3.836 MB / 3.278 GB, free: 0.7783 GB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06126/7.471, allocations: 28.67 MB / 3.306 GB, free: 0.75 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002833/7.471, allocations: 33 kB / 3.306 GB, free: 0.7499 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004265/7.476, allocations: 0.7762 MB / 3.307 GB, free: 0.7492 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/7.476, allocations: 52 kB / 3.307 GB, free: 0.7491 GB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001545/7.478, allocations: 156 kB / 3.307 GB, free: 0.749 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001285/7.478, allocations: 71.72 kB / 3.307 GB, free: 0.7489 GB / 1.842 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.419e-05/7.478, allocations: 47.81 kB / 3.308 GB, free: 0.7489 GB / 1.842 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02932/7.507, allocations: 11.95 MB / 3.319 GB, free: 0.7366 GB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01026/7.517, allocations: 2.829 MB / 3.322 GB, free: 0.7338 GB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008669/7.526, allocations: 155.6 kB / 3.322 GB, free: 0.7337 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0158/7.542, allocations: 0.6075 MB / 3.323 GB, free: 0.7331 GB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/7.543, allocations: 401.5 kB / 3.323 GB, free: 0.7327 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001059/7.544, allocations: 263.8 kB / 3.323 GB, free: 0.7324 GB / 1.842 GB Notification: Performance of sorting global known variables: time 0.02794/7.572, allocations: 11.7 MB / 3.335 GB, free: 0.7211 GB / 1.842 GB Notification: Performance of sort global known variables: time 4.2e-07/7.572, allocations: 0 / 3.335 GB, free: 0.7211 GB / 1.842 GB Notification: Performance of remove unused functions: time 0.02494/7.597, allocations: 5.297 MB / 3.34 GB, free: 0.7162 GB / 1.842 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 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.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.0128/7.61, allocations: 4.331 MB / 3.344 GB, free: 0.7124 GB / 1.842 GB Notification: Performance of simCode: created initialization part: time 0.01235/7.622, allocations: 5.847 MB / 3.35 GB, free: 0.7067 GB / 1.842 GB Notification: Performance of simCode: created event and clocks part: time 6.183e-05/7.622, allocations: 10.25 kB / 3.35 GB, free: 0.7067 GB / 1.842 GB Notification: Performance of simCode: created simulation system equations: time 0.004814/7.627, allocations: 2.595 MB / 3.352 GB, free: 0.7042 GB / 1.842 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05953/7.687, allocations: 10.06 MB / 3.362 GB, free: 0.6952 GB / 1.842 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06295/7.75, allocations: 34.06 MB / 3.396 GB, free: 0.6616 GB / 1.842 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01617/7.766, allocations: 7.786 MB / 3.403 GB, free: 0.6539 GB / 1.842 GB Notification: Performance of simCode: alias equations: time 0.02161/7.788, allocations: 3.211 MB / 3.406 GB, free: 0.6509 GB / 1.842 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004708/7.792, allocations: 1.066 MB / 3.407 GB, free: 0.6499 GB / 1.842 GB Notification: Performance of SimCode: time 8.72e-07/7.792, allocations: 0 / 3.407 GB, free: 0.6499 GB / 1.842 GB Notification: Performance of Templates: time 0.4633/8.256, allocations: 350.9 MB / 3.75 GB, free: 316.9 MB / 1.842 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)